wt.inf.template
Interface ImportTemplateRequest

All Superinterfaces:
TemplateRequest
All Known Subinterfaces:
ImportTemplateFromJarRequest
All Known Implementing Classes:
IxbJarReaderBasedRequest

public interface ImportTemplateRequest
extends TemplateRequest



Supported API: false

Extendable: false


Method Summary
 void closeRequestStream(InputStream stream)
          

Supported API: false
 InputStream getBusinessXMLStream()
          Returns the business XML for the template.
 InputStream getContentStream(String contentId)
          returns an input stream corresponding to a content file

Supported API: false
 File getFileHandle()
          

Supported API: false
 InputStream getFragmentStream(String fragId)
          Returns a business fragment referenced in the input file

Supported API: false
 InputStream getTemplateStream()
          Returns an input stream corresponding to XML specification of the template metada.
 void releaseRequest()
          

Supported API: false
 

Method Detail

getTemplateStream

public InputStream getTemplateStream()
                              throws WTException
Returns an input stream corresponding to XML specification of the template metada. (Note, this is NOT the business XML).

Supported API: false

Returns:
InputStream
Throws:
WTException

getBusinessXMLStream

public InputStream getBusinessXMLStream()
                                 throws WTException
Returns the business XML for the template.

Supported API: false

Returns:
InputStream
Throws:
WTException

getContentStream

public InputStream getContentStream(String contentId)
                             throws WTException
returns an input stream corresponding to a content file

Supported API: false

Parameters:
contentId -
Returns:
InputStream
Throws:
WTException

getFragmentStream

public InputStream getFragmentStream(String fragId)
                              throws WTException
Returns a business fragment referenced in the input file

Supported API: false

Parameters:
fragId -
Returns:
InputStream
Throws:
WTException

releaseRequest

public void releaseRequest()
                    throws WTException


Supported API: false

Throws:
WTException

closeRequestStream

public void closeRequestStream(InputStream stream)
                        throws WTException


Supported API: false

Parameters:
stream -
Throws:
WTException

getFileHandle

public File getFileHandle()
                   throws WTException


Supported API: false

Returns:
File
Throws:
WTException