weblogic.apache.xalan.processor
Class CompilingStylesheetHandler
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--weblogic.apache.xalan.processor.StylesheetHandler
|
+--weblogic.apache.xalan.processor.CompilingStylesheetHandler
- public class CompilingStylesheetHandler
- extends StylesheetHandler
Initializes and processes a stylesheet via SAX events.
This differs from StylesheetHandler in adding a post-
processing stage which attempts to replace part or all
of the recursively-interpreted Templates collection with
Java code, which is generated, compiled, and patched
back into the tempate trees.
This class is based on an implementation from the Apache XML
Project. In future releases the XML parser, XSLT processor, and
associated classes will likely be updated to be based on a later
version of the Apache implementations. Since Apache does not guarantee
backwards compatibility between versions of their software, we cannot
guarantee backwards compatibility of any of the classes contained in
the weblogic.apache package or sub-packages.
- See Also:
StylesheetHandler
Method Summary
|
void |
endDocument()
Receive notification of the end of the document. |
Methods inherited from class weblogic.apache.xalan.processor.StylesheetHandler |
characters,
createXPath,
endElement,
endPrefixMapping,
error,
error,
error,
fatalError,
getBaseIdentifier,
getLocator,
getNamespaceForPrefix,
getNamespaceForPrefix,
getOriginatingNode,
getStylesheetRoot,
getSystemId,
getTemplates,
ignorableWhitespace,
isStylesheetParsingComplete,
notationDecl,
processingInstruction,
pushStylesheet,
resolveEntity,
setDocumentLocator,
setOriginatingNode,
setSystemId,
skippedEntity,
startDocument,
startElement,
startPrefixMapping,
unparsedEntityDecl,
warn,
warning |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CompilingStylesheetHandler
public CompilingStylesheetHandler(TransformerFactoryImpl processor)
throws javax.xml.transform.TransformerConfigurationException
- Create a StylesheetHandler object, creating a root stylesheet
as the target.
- Throws:
- May - throw TransformerConfigurationException if a StylesheetRoot
can not be constructed for some reason.
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Receive notification of the end of the document.
Run standard cleanup of the internal representation,
then start trying to replace that rep with custom code.
- Throws:
- org.xml.sax.SAXException - Any SAX exception, possibly
wrapping another exception.
- Overrides:
- endDocument in class StylesheetHandler
- See Also:
ContentHandler.endDocument()
WebLogic classes and methods that do not appear in this reference are not public and are not supported.