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. |
Modifier and Type | Method and Description |
---|---|
protected void |
ProcessorText.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 void |
ProcessorTemplateElem.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 void |
ProcessorExsltFunction.appendAndPush(StylesheetHandler handler,
ElemTemplateElement elem)
Must include; super doesn't suffice!
|
void |
XSLTElementProcessor.characters(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of character data inside an element.
|
void |
ProcessorCharacters.characters(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of character data inside an element.
|
void |
XSLTElementProcessor.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
void |
ProcessorText.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
void |
ProcessorTemplateElem.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
void |
ProcessorStylesheetElement.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
void |
ProcessorLRE.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
void |
ProcessorExsltFunction.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
End an ElemExsltFunction, and verify its validity.
|
void |
ProcessorCharacters.endElement(StylesheetHandler handler,
String uri,
String localName,
String rawName)
Receive notification of the end of an element.
|
protected Stylesheet |
ProcessorStylesheetElement.getStylesheetRoot(StylesheetHandler handler)
This method can be over-ridden by a class that extends this one.
|
protected Stylesheet |
ProcessorLRE.getStylesheetRoot(StylesheetHandler handler)
This method could be over-ridden by a class that extends this class.
|
void |
XSLTElementProcessor.ignorableWhitespace(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content.
|
void |
XSLTElementProcessor.notationDecl(StylesheetHandler handler,
String name,
String publicId,
String systemId)
Receive notification of a notation declaration.
|
protected void |
ProcessorInclude.parse(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Set off a new parse for an included or imported stylesheet.
|
void |
XSLTElementProcessor.processingInstruction(StylesheetHandler handler,
String target,
String data)
Receive notification of a processing instruction.
|
protected Source |
ProcessorInclude.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.
|
InputSource |
XSLTElementProcessor.resolveEntity(StylesheetHandler handler,
String publicId,
String systemId)
Resolve an external entity.
|
void |
XSLTElementProcessor.skippedEntity(StylesheetHandler handler,
String name)
Receive notification of a skipped entity.
|
void |
XSLTElementProcessor.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Receive notification of the start of an element.
|
void |
ProcessorTemplateElem.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Receive notification of the start of an element.
|
void |
ProcessorStylesheetElement.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Receive notification of the start of an strip-space element.
|
void |
ProcessorLRE.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Receive notification of the start of an element.
|
void |
ProcessorInclude.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Receive notification of the start of an xsl:include element.
|
void |
ProcessorExsltFunction.startElement(StylesheetHandler handler,
String uri,
String localName,
String rawName,
Attributes attributes)
Start an ElemExsltFunction.
|
void |
ProcessorExsltFuncResult.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.
|
void |
XSLTElementProcessor.startNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event.
|
void |
ProcessorCharacters.startNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event.
|
void |
XSLTElementProcessor.unparsedEntityDecl(StylesheetHandler handler,
String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration.
|
void |
ProcessorExsltFunction.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.
|
Constructor and 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.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.