|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XT
Method Summary | |
---|---|
void |
addMFLDocument(URL mflURI)
Deprecated. |
void |
addMFLDocument(URL mflURI,
InputSource mflInput)
Deprecated. |
void |
addMFLDocument(URL mflURI,
InputStream mflInput)
Deprecated. |
void |
addMFLDocument(URL mflURI,
Reader mflInput)
|
void |
addStylesheet(URL stylesheetURI)
Deprecated. |
void |
addStylesheet(URL stylesheetURI,
InputSource stylesheetInput)
Deprecated. |
void |
clearMFLCache()
|
void |
init(Properties properties)
Deprecated. |
void |
init(String filename)
Deprecated. |
Document |
parse(URL mflURI,
InputStream binaryInput,
PrintWriter debug)
Deprecated. |
Document |
parse(URL mflURI,
InputStream binaryInput,
String dtdSystemId,
PrintWriter debug)
Deprecated. |
Document |
parse(URL mflURI,
InputStream binaryInput,
String defaultNamespace,
String schemaLocation,
PrintWriter debug)
Deprecated. |
void |
reinit(Properties properties)
Deprecated. |
void |
reinitStylesheet(URL stylesheetURI)
Deprecated. |
void |
serialize(URL mflURI,
Document document,
OutputStream binaryOutput,
PrintWriter debug)
Deprecated. |
void |
serialize(URL mflURI,
InputSource xmlInput,
OutputStream binaryOutput)
Deprecated. |
void |
serialize(URL mflURI,
InputSource xmlInput,
OutputStream binaryOutput,
PrintWriter debug)
Deprecated. |
void |
serialize(URL mflURI,
InputStream xmlInput,
OutputStream binaryOutput)
Deprecated. |
void |
serialize(URL mflURI,
InputStream xmlInput,
OutputStream binaryOutput,
PrintWriter debug)
Deprecated. |
void |
transform(Document document,
OutputStream out,
URL stylesheetURI)
Deprecated. |
Document |
transform(Document document,
URL stylesheetURI)
Deprecated. |
void |
transform(InputSource xmlInput,
OutputStream out,
URL stylesheetURI)
Deprecated. |
Document |
transform(InputSource xmlInput,
URL stylesheetURI)
Deprecated. |
Method Detail |
---|
void init(Properties properties) throws Exception
properties
- Properties object containing the property
'WLXT.stylesheets' and/or 'WLXT.MFLDocuments'.
WLXTException
- If an error occurs accessing a specified
stylesheet or MFL document.
Exception
Properties
void init(String filename) throws Exception
filename
- The name of the properties file
WLXTException
- If an error occurs accessing a specified
stylesheet or MFL document.
Exception
void reinitStylesheet(URL stylesheetURI) throws Exception
stylesheetURI
- The unique resource identifier
for the stylesheet
WLXTException
- If an error occurs accessing the specified
stylesheet.
Exception
URL
void reinit(Properties properties) throws Exception
properties
- Properties object containing the property
WLXT.stylesheets and/or WLXT.MFLDocuments
WLXTException
- If an error occurs accessing a specified
stylesheet or MFL document.
Exception
void addStylesheet(URL stylesheetURI) throws Exception
stylesheetURI
- The unique resource identifier
for the stylesheet
WLXTException
- If an error occurs accessing the specified
stylesheet.
Exception
URL
void addStylesheet(URL stylesheetURI, InputSource stylesheetInput) throws Exception
stylesheetURI
- The unique resource identifier
for the stylesheetstylesheetInput
- The InputSource for the stylesheet
WLXTException
- If an error occurs accessing the specified
stylesheet.
Exception
URL
void addMFLDocument(URL mflURI) throws Exception
mflURI
- The unique resource identifier
for the MFL document
WLXTException
- If an error occurs accessing the specified
MFL document.
Exception
URL
void addMFLDocument(URL mflURI, InputSource mflInput) throws Exception
mflURI
- The unique resource identifier
for the MFL documentmflInput
- The InputSource for the content of
the MFL document
WLXTException
- If an error occurs accessing the specified
MFL document.
Exception
URL
void addMFLDocument(URL mflURI, InputStream mflInput) throws Exception
mflURI
- The unique resource identifier
for the MFL documentmflInput
- The InputSource for the content of
the MFL document
WLXTException
- If an error occurs accessing the specified
MFL document.
Exception
URL
void addMFLDocument(URL mflURI, Reader mflInput) throws Exception
Exception
void clearMFLCache()
Document parse(URL mflURI, InputStream binaryInput, PrintWriter debug) throws Exception
No DTD or schema reference is output in the resulting XML.
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to parse binary
databinaryInput
- InputStream of binary data that should be converted
to XMLdebug
- PrintWriter to be used to display parse debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the binary data to XML
Exception
Document parse(URL mflURI, InputStream binaryInput, String dtdSystemId, PrintWriter debug) throws Exception
This method has a system id parameter that allows the user to specify the document type definition for the doctype element of the resulting XML.
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to parse binary
databinaryInput
- InputStream of binary data that should be converted
to XMLdtdSystemId
- The system id of the Document Type Definition. This
id will be output in the DOCTYPE element of the
resulting XML.debug
- PrintWriter to be used to display parse debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the binary data to XML
Exception
Document parse(URL mflURI, InputStream binaryInput, String defaultNamespace, String schemaLocation, PrintWriter debug) throws Exception
This method has default namespace parameter that causes the resulting XML to output a default namespace in the root node of the document. This method also has a schema location parameter cause the resulting XML to reference a schema as its content model.
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to parse binary
databinaryInput
- InputStream of binary data that should be converted
to XMLdefaultNamespace
- can be null, if not null causes a default namespace to be
declared in the root node of the resulting XMLschemaLocation
- causes a reference to the specified schema to be output in
the root node of the resulting XMLdebug
- PrintWriter to be used to display parse debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the binary data to XML
Exception
void serialize(URL mflURI, Document document, OutputStream binaryOutput, PrintWriter debug) throws Exception
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to convert the XML
data to the binary formatdocument
- XML data that is to be converted to a binary formatbinaryOutput
- OutputStream that is to contain the binary datadebug
- PrintWriter to be used to display (or log) debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the XML data to the
binary format
Exception
void serialize(URL mflURI, InputStream xmlInput, OutputStream binaryOutput) throws Exception
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to convert the XML
data to the binary formatxmlInput
- XML data that is to be converted to a binary formatbinaryOutput
- OutputStream that is to contain the binary data
WLXTException
- If an error occurs converting the XML data to the
binary format
Exception
void serialize(URL mflURI, InputSource xmlInput, OutputStream binaryOutput) throws Exception
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to convert the XML
data to the binary formatxmlInput
- XML data that is to be converted to a binary formatbinaryOutput
- OutputStream that is to contain the binary data
WLXTException
- If an error occurs converting the XML data to the
binary format
Exception
void serialize(URL mflURI, InputStream xmlInput, OutputStream binaryOutput, PrintWriter debug) throws Exception
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to convert the XML
data to the binary formatxmlInput
- XML data that is to be converted to a binary formatbinaryOutput
- OutputStream that is to contain the binary datadebug
- PrintWriter to be used to display (or log) debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the XML data to the
binary format
Exception
void serialize(URL mflURI, InputSource xmlInput, OutputStream binaryOutput, PrintWriter debug) throws Exception
If the MFL document is not found in the cache, then it will be automatically processed and added to the cache.
mflURI
- URL to MFL document that should be used to convert the XML
data to the binary formatxmlInput
- XML data that is to be converted to a binary formatbinaryOutput
- OutputStream that is to contain the binary datadebug
- PrintWriter to be used to display (or log) debug information.
May be null to disable debug information.
WLXTException
- If an error occurs converting the XML data to the
binary format
Exception
void transform(InputSource xmlInput, OutputStream out, URL stylesheetURI) throws Exception
xmlInput
- XML input to XSLT transformationout
- Output stream where the result of transformation is written.stylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformation
WLXTException
- If an error occurs performing the XSLT transformation
Exception
InputSource
,
URL
void transform(Document document, OutputStream out, URL stylesheetURI) throws Exception
document
- DOM Document object to be transformedout
- Output stream where the result of transformation is written.stylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformation
WLXTException
- If an error occurs performing the XSLT transformation
Exception
Document
,
URL
Document transform(InputSource xmlInput, URL stylesheetURI) throws Exception
xmlInput
- XML input to XSLT transformationstylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformation
WLXTException
- If an error occurs performing the XSLT transformation
Exception
Document
,
URL
Document transform(Document document, URL stylesheetURI) throws Exception
document
- DOM Document object to be transformedstylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformation
WLXTException
- If an error occurs performing the XSLT transformation
Exception
Document
,
URL
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |