|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addMFLDocument(java.net.URL mflDocumentURI)
Add a MFL document to the cache. |
void |
addMFLDocument(java.net.URL mflDocumentURI,
org.xml.sax.InputSource mflInput)
Add a MFL document to the cache. |
void |
addMFLDocument(java.net.URL mflDocumentURI,
java.io.InputStream mflInput)
Add a MFL document to the cache. |
void |
addMFLDocument(java.net.URL mflDocumentURI,
java.io.Reader mflInput)
|
void |
addStylesheet(java.net.URL stylesheetURI)
Add a single stylesheet to the cache. |
void |
addStylesheet(java.net.URL stylesheetURI,
org.xml.sax.InputSource stylesheetInput)
Add a single stylesheet to the cache. |
void |
clearMFLCache()
|
void |
init(java.util.Properties properties)
Initialize the WLXT with a Properties object. |
void |
init(java.lang.String filename)
Initialize WLXT with a Properties file. |
org.w3c.dom.Document |
parse(java.net.URL mflURI,
java.io.InputStream binaryInput,
java.io.PrintWriter debug)
Parse binary data given in binaryInput argument using the MFL document specified by mflURI. |
org.w3c.dom.Document |
parse(java.net.URL mflURI,
java.io.InputStream binaryInput,
java.lang.String dtdSystemId,
java.io.PrintWriter debug)
Parse binary data given in binaryInput argument using the MFL document specified by mflURI. |
org.w3c.dom.Document |
parse(java.net.URL mflURI,
java.io.InputStream binaryInput,
java.lang.String defaultNamespace,
java.lang.String schemaLocation,
java.io.PrintWriter debug)
Parse binary data given in binaryInput argument using the MFL document specified by mflURI. |
void |
reinit(java.util.Properties properties)
Reinitialize the entire cache. |
void |
reinitStylesheet(java.net.URL stylesheetURI)
Reinitialize a single stylesheet. |
void |
serialize(java.net.URL mflURI,
org.w3c.dom.Document document,
java.io.OutputStream binaryOutput,
java.io.PrintWriter debug)
Serialize the XML data (given in document argument) to the binary format specified by the MFL document (mflURI). |
void |
serialize(java.net.URL mflURI,
org.xml.sax.InputSource xmlInput,
java.io.OutputStream binaryOutput)
Serialize the XML data (given in xmlInput argument) to the binary format specified by the MFL document (mflURI). |
void |
serialize(java.net.URL mflURI,
org.xml.sax.InputSource xmlInput,
java.io.OutputStream binaryOutput,
java.io.PrintWriter debug)
Serialize the XML data (given in xmlInput argument) to the binary format specified by the MFL document (mflURI). |
void |
serialize(java.net.URL mflURI,
java.io.InputStream xmlInput,
java.io.OutputStream binaryOutput)
Serialize the XML data (given in xmlInput argument) to the binary format specified by the MFL document (mflURI). |
void |
serialize(java.net.URL mflURI,
java.io.InputStream xmlInput,
java.io.OutputStream binaryOutput,
java.io.PrintWriter debug)
Serialize the XML data (given in xmlInput argument) to the binary format specified by the MFL document (mflURI). |
void |
transform(org.w3c.dom.Document document,
java.io.OutputStream out,
java.net.URL stylesheetURI)
Perform an XSLT transformation on the document argument using the specified stylesheet. |
org.w3c.dom.Document |
transform(org.w3c.dom.Document document,
java.net.URL stylesheetURI)
Perform an XSLT transformation on the document argument using the specified stylesheet. |
void |
transform(org.xml.sax.InputSource xmlInput,
java.io.OutputStream out,
java.net.URL stylesheetURI)
Perform an XSLT transformation on the XML input argument using the specified stylesheet. |
org.w3c.dom.Document |
transform(org.xml.sax.InputSource xmlInput,
java.net.URL stylesheetURI)
Perform an XSLT transformation on the document argument using the specified stylesheet. |
Method Detail |
public void init(java.util.Properties properties) throws java.lang.Exception
properties
- Properties object containing the property
'WLXT.stylesheets' and/or 'WLXT.MFLDocuments'.Properties
public void init(java.lang.String filename) throws java.lang.Exception
filename
- The name of the properties filepublic void reinitStylesheet(java.net.URL stylesheetURI) throws java.lang.Exception
stylesheetURI
- The unique resource identifier
for the stylesheetURL
public void reinit(java.util.Properties properties) throws java.lang.Exception
properties
- Properties object containing the property
WLXT.stylesheets and/or WLXT.MFLDocumentspublic void addStylesheet(java.net.URL stylesheetURI) throws java.lang.Exception
stylesheetURI
- The unique resource identifier
for the stylesheetURL
public void addStylesheet(java.net.URL stylesheetURI, org.xml.sax.InputSource stylesheetInput) throws java.lang.Exception
stylesheetURI
- The unique resource identifier
for the stylesheetstylesheetInput
- The InputSource for the stylesheetURL
public void addMFLDocument(java.net.URL mflDocumentURI) throws java.lang.Exception
mflURI
- The unique resource identifier
for the MFL documentURL
public void addMFLDocument(java.net.URL mflDocumentURI, org.xml.sax.InputSource mflInput) throws java.lang.Exception
mflURI
- The unique resource identifier
for the MFL documentmflInput
- The InputSource for the content of
the MFL documentURL
public void addMFLDocument(java.net.URL mflDocumentURI, java.io.InputStream mflInput) throws java.lang.Exception
mflURI
- The unique resource identifier
for the MFL documentmflInput
- The InputSource for the content of
the MFL documentURL
public void addMFLDocument(java.net.URL mflDocumentURI, java.io.Reader mflInput) throws java.lang.Exception
public void clearMFLCache()
public org.w3c.dom.Document parse(java.net.URL mflURI, java.io.InputStream binaryInput, java.io.PrintWriter debug) throws java.lang.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.public org.w3c.dom.Document parse(java.net.URL mflURI, java.io.InputStream binaryInput, java.lang.String dtdSystemId, java.io.PrintWriter debug) throws java.lang.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.public org.w3c.dom.Document parse(java.net.URL mflURI, java.io.InputStream binaryInput, java.lang.String defaultNamespace, java.lang.String schemaLocation, java.io.PrintWriter debug) throws java.lang.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.public void serialize(java.net.URL mflURI, org.w3c.dom.Document document, java.io.OutputStream binaryOutput, java.io.PrintWriter debug) throws java.lang.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.public void serialize(java.net.URL mflURI, java.io.InputStream xmlInput, java.io.OutputStream binaryOutput) throws java.lang.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 datapublic void serialize(java.net.URL mflURI, org.xml.sax.InputSource xmlInput, java.io.OutputStream binaryOutput) throws java.lang.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 datapublic void serialize(java.net.URL mflURI, java.io.InputStream xmlInput, java.io.OutputStream binaryOutput, java.io.PrintWriter debug) throws java.lang.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.public void serialize(java.net.URL mflURI, org.xml.sax.InputSource xmlInput, java.io.OutputStream binaryOutput, java.io.PrintWriter debug) throws java.lang.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.public void transform(org.xml.sax.InputSource xmlInput, java.io.OutputStream out, java.net.URL stylesheetURI) throws java.lang.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
transformationInputSource
,
URL
public void transform(org.w3c.dom.Document document, java.io.OutputStream out, java.net.URL stylesheetURI) throws java.lang.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
transformationDocument
,
URL
public org.w3c.dom.Document transform(org.xml.sax.InputSource xmlInput, java.net.URL stylesheetURI) throws java.lang.Exception
xmlInput
- XML input to XSLT transformationstylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformationDocument
,
URL
public org.w3c.dom.Document transform(org.w3c.dom.Document document, java.net.URL stylesheetURI) throws java.lang.Exception
document
- DOM Document object to be transformedstylesheetURI
- The unique resource identifier
for the stylesheet to use for the
transformationDocument
,
URL
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |