|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.xml.xslt.AbstractXSLTransform
Field Summary | |
private String |
baseURI
|
private Hashtable |
inputParameters
|
private XMLSource |
xmlSource
|
Constructor Summary | |
(package private) |
AbstractXSLTransform(XMLSource xmlSource,
Hashtable inputParameters,
String baseURI)
|
Method Summary | |
String |
getBaseURI()
The URI describing the location of the XML data, up to, but not including the file part of the URI. |
Hashtable |
getInputParameters()
The parameters to pass into the stylesheet during the transform. |
InputStream |
getInputStream()
The input stream that can be read to get the XML data in byte form. |
Reader |
getReader()
The reader that can be read to get the XML data in character form. |
XMLSource |
getXMLSource()
The XMLSource used as input to the transform (Warning: modifying the XML source and modifying it [for example reading from an input stream] will likely result in errors in the transformation). |
void |
produceEvents(DocumentHandler listener)
Produce the SAX events for the XML source data calling the appropriate handler methods on the provided DocumentHandler instance. |
void |
setInputParameters(Hashtable inputParameters)
Reset the input parameters to the specified set. |
void |
setXMLSource(XMLSource xmlSource)
Resets the XMLSource to that specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wt.util.xml.xslt.XSLTransform |
getStyleSheet, outputToStream, outputToWriter |
Methods inherited from interface wt.util.xml.xslt.DOMXMLSource |
getNode |
Methods inherited from interface wt.util.xml.xslt.SAX2XMLSource |
produceEvents |
Field Detail |
private XMLSource xmlSource
private Hashtable inputParameters
private String baseURI
Constructor Detail |
AbstractXSLTransform(XMLSource xmlSource, Hashtable inputParameters, String baseURI)
Method Detail |
public String getBaseURI()
XMLSource
http://www.acme.com/documents/Document1.xml
would
be http://www.acme.com/documents
.
getBaseURI
in interface XMLSource
public XMLSource getXMLSource()
XSLTransform
getXMLSource
in interface XSLTransform
public void setXMLSource(XMLSource xmlSource)
XSLTransform
setXMLSource
in interface XSLTransform
xmlSource
- public Hashtable getInputParameters()
XSLTransform
getInputParameters
in interface XSLTransform
public void setInputParameters(Hashtable inputParameters)
XSLTransform
setInputParameters
in interface XSLTransform
inputParameters
- public InputStream getInputStream() throws IOException
StreamXMLSource
getInputStream
in interface StreamXMLSource
IOException
public Reader getReader() throws IOException
ReaderXMLSource
getReader
in interface ReaderXMLSource
IOException
public void produceEvents(DocumentHandler listener) throws SAXException
SAXXMLSource
produceEvents
in interface SAXXMLSource
listener
- The handler that will "receive" the SAX events as method calls.
SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |