Uses of Class
org.apache.xalan.processor.StylesheetHandler
| Package | Description |
|---|---|
| org.apache.xalan.processor |
Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
|
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
-
Uses of StylesheetHandler in org.apache.xalan.processor
Methods in org.apache.xalan.processor with parameters of type StylesheetHandler Modifier and Type Method Description protected voidProcessorExsltFunction. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Must include; super doesn't suffice!protected voidProcessorTemplateElem. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Append the current template element to the current template element, and then push it onto the current template element stack.protected voidProcessorText. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Append the current template element to the current template element, and then push it onto the current template element stack.voidProcessorCharacters. characters(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of character data inside an element.voidXSLTElementProcessor. characters(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of character data inside an element.voidProcessorCharacters. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorExsltFunction. endElement(StylesheetHandler handler, String uri, String localName, String rawName)End an ElemExsltFunction, and verify its validity.voidProcessorLRE. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorStylesheetElement. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorTemplateElem. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorText. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidXSLTElementProcessor. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.protected StylesheetProcessorLRE. getStylesheetRoot(StylesheetHandler handler)This method could be over-ridden by a class that extends this class.protected StylesheetProcessorStylesheetElement. getStylesheetRoot(StylesheetHandler handler)This method can be over-ridden by a class that extends this one.voidXSLTElementProcessor. ignorableWhitespace(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidXSLTElementProcessor. notationDecl(StylesheetHandler handler, String name, String publicId, String systemId)Receive notification of a notation declaration.protected voidProcessorInclude. parse(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Set off a new parse for an included or imported stylesheet.voidXSLTElementProcessor. processingInstruction(StylesheetHandler handler, String target, String data)Receive notification of a processing instruction.protected SourceProcessorInclude. processSource(StylesheetHandler handler, Source source)This method does nothing, but a class that extends this class could over-ride it and do some processing of the source.InputSourceXSLTElementProcessor. resolveEntity(StylesheetHandler handler, String publicId, String systemId)Resolve an external entity.voidXSLTElementProcessor. skippedEntity(StylesheetHandler handler, String name)Receive notification of a skipped entity.voidProcessorExsltFuncResult. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Verify that the func:result element does not appear within a variable, parameter, or another func:result, and that it belongs to a func:function element.voidProcessorExsltFunction. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Start an ElemExsltFunction.voidProcessorInclude. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an xsl:include element.voidProcessorLRE. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidProcessorStylesheetElement. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an strip-space element.voidProcessorTemplateElem. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidXSLTElementProcessor. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidProcessorCharacters. startNonText(StylesheetHandler handler)Receive notification of the start of the non-text event.voidXSLTElementProcessor. startNonText(StylesheetHandler handler)Receive notification of the start of the non-text event.voidXSLTElementProcessor. unparsedEntityDecl(StylesheetHandler handler, String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidProcessorExsltFunction. validate(ElemTemplateElement elem, StylesheetHandler handler)Non-recursive traversal of FunctionElement tree based on TreeWalker to verify that there are no literal result elements except within a func:result element and that the func:result element does not contain any following siblings except xsl:fallback. -
Uses of StylesheetHandler in org.apache.xalan.templates
Constructors in org.apache.xalan.templates with parameters of type StylesheetHandler Constructor Description AVT(StylesheetHandler handler, String uri, String name, String rawName, String stringedValue, ElemTemplateElement owner)Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple.