|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xalan.xslt.StylesheetRoot
Binary representation of a stylesheet -- use the XSLTProcessor
ProcessStylesheet
method to create a StylesheetRoot and improve performance for a stylesheet performing multiple transformations.
Also required for XSLTProcessor to function as SAX DocumentHandler.
Constructor Summary | |
StylesheetRoot(StylesheetRoot s)
Constructor using an weblogic.apache.xalan.templates.StylesheetRoot. |
|
StylesheetRoot(XSLTEngineImpl processor,
java.lang.String baseIdentifier)
Uses an XSL stylesheet document. |
Method Summary | |
java.lang.String |
getBaseIdentifier()
Get the base identifier with which this stylesheet is associated. |
StylesheetRoot |
getObject()
Return the weblogic.apache.xalan.templates.StylesheetRoot object associated with this stylesheet root. |
java.lang.String |
getOutputEncoding()
Get the encoding string that was specified in the stylesheet. |
OutputFormat |
getOutputFormat()
Get a new OutputFormat object according to the xsl:output attributes. |
java.lang.String |
getOutputMediaType()
Get the media-type string that was specified in the stylesheet. |
java.lang.String |
getOutputMethod()
Get the output method that was specified in the stylesheet. |
org.xml.sax.DocumentHandler |
getSAXSerializer(java.io.OutputStream ostream)
Creates a compatible SAX serializer for the specified output stream and output format. |
org.xml.sax.DocumentHandler |
makeSAXSerializer(java.io.OutputStream ostream,
OutputFormat format)
Creates a compatible SAX serializer for the specified output stream and output format. |
org.xml.sax.DocumentHandler |
makeSAXSerializer(java.io.Writer writer,
OutputFormat format)
Creates a compatible SAX serializer for the specified writer and output format. |
void |
process(XSLTInputSource xmlSource,
XSLTResultTarget outputTarget)
Transform the XML source tree and place the output in the result tree target. |
void |
process(XSLTProcessor iprocessor,
org.w3c.dom.Node sourceTree,
XSLTResultTarget outputTarget)
Transform the XML source tree (a DOM Node) and place the output in the result tree target. |
void |
process(XSLTProcessor iprocessor,
XSLTInputSource xmlSource,
XSLTResultTarget outputTarget)
Transform the XML source tree and place the output in the result tree target. |
void |
setBaseIdentifier(java.lang.String baseIdent)
Get the base identifier with which this stylesheet is associated. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public StylesheetRoot(XSLTEngineImpl processor, java.lang.String baseIdentifier) throws javax.xml.transform.TransformerConfigurationException
processor
- The XSLTProcessor implementation.baseIdentifier
- The file name or URL for the XSL stylesheet.public StylesheetRoot(StylesheetRoot s)
s
- an weblogic.apache.xalan.templates.StylesheetRoot objectMethod Detail |
public StylesheetRoot getObject()
public void process(XSLTInputSource xmlSource, XSLTResultTarget outputTarget) throws org.xml.sax.SAXException, java.net.MalformedURLException, java.io.FileNotFoundException, java.io.IOException
xmlSource
- The XML input source tree.outputTarget
- The output result tree.XSLTProcessor.process(weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTResultTarget)
public void process(XSLTProcessor iprocessor, XSLTInputSource xmlSource, XSLTResultTarget outputTarget) throws org.xml.sax.SAXException, java.net.MalformedURLException, java.io.FileNotFoundException, java.io.IOException
iprocessor
- The XSLTProcessor that will track the running state.xmlSource
- The XML input source tree.outputTarget
- The output result tree.XSLTProcessor.process(weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTResultTarget)
public void process(XSLTProcessor iprocessor, org.w3c.dom.Node sourceTree, XSLTResultTarget outputTarget) throws org.xml.sax.SAXException, java.net.MalformedURLException, java.io.FileNotFoundException, java.io.IOException
process(weblogic.apache.xalan.xslt.XSLTProcessor, weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTResultTarget)
or
XSLTProcessor.process(weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTInputSource, weblogic.apache.xalan.xslt.XSLTResultTarget)
.
iprocessor
- The processor that will track the running state.sourceTree
- The input source tree in the form of a DOM Node.outputTarget
- The output result tree.public org.xml.sax.DocumentHandler makeSAXSerializer(java.io.Writer writer, OutputFormat format) throws java.io.IOException, org.xml.sax.SAXException
writer
- The writerformat
- The output formatpublic org.xml.sax.DocumentHandler makeSAXSerializer(java.io.OutputStream ostream, OutputFormat format) throws java.io.UnsupportedEncodingException, java.io.IOException, org.xml.sax.SAXException
ostream
- The output stream.format
- The output formatpublic org.xml.sax.DocumentHandler getSAXSerializer(java.io.OutputStream ostream) throws java.io.UnsupportedEncodingException, java.io.IOException, org.xml.sax.SAXException
ostream
- The output stream.public OutputFormat getOutputFormat()
public java.lang.String getOutputEncoding()
public java.lang.String getOutputMediaType()
public java.lang.String getOutputMethod()
public java.lang.String getBaseIdentifier()
public void setBaseIdentifier(java.lang.String baseIdent)
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |