Package | Description |
---|---|
org.apache.xalan.extensions |
Implementation of Xalan Extension Mechanism.
|
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. |
org.apache.xalan.trace |
Implementation of Xalan Trace events, for use by a debugger.
|
org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey) |
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerExsltFunction.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey) |
Required by ExtensionHandler (an abstract method).
|
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey) |
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey) |
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey) |
Process a call to this extension namespace via an element.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ProcessorCharacters |
This class processes character events for a XSLT template element.
|
class |
ProcessorExsltFuncResult |
This class processes parse events for an exslt func:result element.
|
class |
ProcessorExsltFunction |
This class processes parse events for an exslt func:function element.
|
class |
ProcessorImport |
This class processes parse events for an xsl:import element.
|
class |
ProcessorInclude |
TransformerFactory class for xsl:include markup.
|
class |
ProcessorLRE |
Processes an XSLT literal-result-element, or something that looks
like one.
|
class |
ProcessorStylesheetDoc |
This class processes the xsl:stylesheet element.
|
class |
ProcessorStylesheetElement |
TransformerFactory for xsl:stylesheet or xsl:transform markup.
|
class |
ProcessorTemplateElem |
This class processes parse events for an XSLT template element.
|
class |
ProcessorText |
Process xsl:text.
|
class |
ProcessorUnknown |
This class processes an unknown template element.
|
class |
WhitespaceInfoPaths |
|
class |
XSLTElementProcessor |
This class acts as the superclass for all stylesheet element
processors, and deals with things that are common to all elements.
|
Modifier and Type | Method | Description |
---|---|---|
XPath |
StylesheetHandler.createXPath(java.lang.String str,
ElemTemplateElement owningTemplate) |
Process an expression string into an XPath.
|
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DecimalFormatProperties |
Implement xsl:decimal-format.
|
class |
ElemApplyImport |
Implement xsl:apply-imports.
|
class |
ElemApplyTemplates |
Implement xsl:apply-templates.
|
class |
ElemAttribute |
Implement xsl:attribute.
|
class |
ElemAttributeSet |
Implement xsl:attribute-set.
|
class |
ElemCallTemplate |
Implement xsl:call-template.
|
class |
ElemChoose |
Implement xsl:choose.
|
class |
ElemComment |
Implement xsl:comment.
|
class |
ElemCopy |
Implement xsl:copy.
|
class |
ElemCopyOf |
Implement xsl:copy-of.
|
class |
ElemElement |
Implement xsl:element
|
class |
ElemEmpty |
Simple empty elem to push on the stack when nothing
else got pushed, so that pop() works correctly.
|
class |
ElemExsltFuncResult |
Handles the EXSLT result element within an EXSLT function element.
|
class |
ElemExsltFunction |
Implement func:function.
|
class |
ElemExtensionCall |
Implement an extension element.
|
class |
ElemExtensionDecl |
Implement the declaration of an extension element
|
class |
ElemExtensionScript |
Implement Script extension element
|
class |
ElemFallback |
Implement xsl:fallback.
|
class |
ElemForEach |
Implement xsl:for-each.
|
class |
ElemIf |
Implement xsl:if.
|
class |
ElemLiteralResult |
Implement a Literal Result Element.
|
class |
ElemMessage |
Implement xsl:message.
|
class |
ElemNumber |
Implement xsl:number.
|
class |
ElemOtherwise |
Implement xsl:otherwise.
|
class |
ElemParam |
Implement xsl:param.
|
class |
ElemPI |
Implement xsl:processing-instruction.
|
class |
ElemSort |
Implement xsl:sort.
|
class |
ElemTemplate |
Implement xsl:template.
|
class |
ElemText |
Implement xsl:template.
|
class |
ElemTextLiteral |
Implement a text literal.
|
class |
ElemUnknown |
Implement an unknown element
|
class |
ElemUse |
Implement xsl:use.
|
class |
ElemValueOf |
Implement xsl:value-of.
|
class |
ElemVariable |
Implement xsl:variable.
|
class |
ElemVariablePsuedo |
|
class |
ElemWhen |
Implement xsl:when.
|
class |
ElemWithParam |
Implement xsl:with-param.
|
class |
KeyDeclaration |
Holds the attribute declarations for the xsl:keys element.
|
class |
NamespaceAlias |
Object to hold an xsl:namespace element.
|
class |
OutputProperties |
This class provides information from xsl:output elements.
|
class |
Stylesheet |
Represents a stylesheet element.
|
class |
StylesheetComposed |
Represents a stylesheet that has methods that resolve includes and
imports.
|
class |
StylesheetRoot |
This class represents the root object of the stylesheet tree.
|
class |
WhiteSpaceInfo |
This is used as a special "fake" template that can be
handled by the TemplateList to do pattern matching
on nodes.
|
Modifier and Type | Method | Description |
---|---|---|
ElemTemplateElement |
ElemApplyImport.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemAttribute.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemCallTemplate.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemChoose.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemComment.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemCopyOf.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemForEach.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemNumber.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemPI.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemTemplateElement.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemText.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemValueOf.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemVariable.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemWithParam.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemTemplateElement.getFirstChildElem() |
Get the first child as a ElemTemplateElement.
|
ElemTemplateElement |
ElemTemplateElement.getLastChildElem() |
Get the last child.
|
ElemTemplateElement |
ElemTemplateElement.getNextSiblingElem() |
Get the next sibling (as a ElemTemplateElement) or return null.
|
ElemTemplateElement |
ElemTemplateElement.getParentElem() |
Get the parent as an ElemTemplateElement.
|
ElemTemplateElement |
ElemTemplateElement.getParentNodeElem() |
Get the parent element.
|
ElemTemplateElement |
ElemTemplateElement.getPreviousSiblingElem() |
Get the previous sibling (as a Node) or return null.
|
ElemTemplateElement |
ElemTemplateElement.removeChild(ElemTemplateElement childETE) |
Remove a child.
|
ElemTemplateElement |
ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem,
ElemTemplateElement oldChildElem) |
Replace the old child with a new child.
|
Modifier and Type | Method | Description |
---|---|---|
ElemTemplateElement |
ElemApplyImport.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemAttribute.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemCallTemplate.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemChoose.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemComment.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemCopyOf.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemForEach.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemNumber.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemPI.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemTemplateElement.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemText.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemValueOf.appendChild(ElemTemplateElement newChild) |
Add a child to the child list.
|
ElemTemplateElement |
ElemVariable.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemWithParam.appendChild(ElemTemplateElement elem) |
Add a child to the child list.
|
ElemTemplateElement |
ElemAttributeSet.appendChildElem(ElemTemplateElement newChild) |
Add a child to the child list.
|
void |
RedundentExprEliminator.eleminateRedundentLocals(ElemTemplateElement psuedoVarRecipient) |
Method to be called after the all expressions within an
node context have been visited.
|
ElemTemplateElement |
ElemTemplateElement.removeChild(ElemTemplateElement childETE) |
Remove a child.
|
ElemTemplateElement |
ElemTemplateElement.replaceChild(ElemTemplateElement newChildElem,
ElemTemplateElement oldChildElem) |
Replace the old child with a new child.
|
void |
ElemTemplateElement.setParentElem(ElemTemplateElement p) |
Set the parent as an ElemTemplateElement.
|
void |
ElemVariable.setParentElem(ElemTemplateElement p) |
Set the parent as an ElemTemplateElement.
|
void |
ElemWithParam.setParentElem(ElemTemplateElement p) |
Set the parent as an ElemTemplateElement.
|
boolean |
RedundentExprEliminator.visitInstruction(ElemTemplateElement elem) |
Visit an XSLT instruction.
|
boolean |
XSLTVisitor.visitInstruction(ElemTemplateElement elem) |
Visit an XSLT instruction.
|
boolean |
XSLTVisitor.visitStylesheet(ElemTemplateElement elem) |
Visit an XSLT stylesheet instruction.
|
boolean |
RedundentExprEliminator.visitTopLevelInstruction(ElemTemplateElement elem) |
Visit an XSLT top-level instruction.
|
boolean |
XSLTVisitor.visitTopLevelInstruction(ElemTemplateElement elem) |
Visit an XSLT top-level instruction.
|
boolean |
XSLTVisitor.visitTopLevelVariableOrParamDecl(ElemTemplateElement elem) |
Visit an XSLT top-level instruction.
|
Constructor | Description |
---|---|
AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.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.
|
Modifier and Type | Field | Description |
---|---|---|
ElemTemplateElement |
SelectionEvent.m_styleNode |
The node in the style tree where the event occurs.
|
ElemTemplateElement |
TracerEvent.m_styleNode |
The node in the style tree where the event occurs.
|
Modifier and Type | Method | Description |
---|---|---|
void |
TraceManager.fireSelectedEndEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection) |
Fire a selection event.
|
void |
TraceManager.fireSelectedEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection) |
Fire a selection event.
|
void |
TraceManager.fireTraceEndEvent(ElemTemplateElement styleNode) |
Fire a end trace event, after all children of an element have been
executed.
|
void |
TraceManager.fireTraceEvent(ElemTemplateElement styleNode) |
Fire a trace event.
|
Constructor | Description |
---|---|
EndSelectionEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection) |
Create an EndSelectionEvent.
|
SelectionEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection) |
Create an event originating at the given node of the style tree.
|
TracerEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
QName mode,
ElemTemplateElement styleNode) |
Create an event originating at the given node of the style tree.
|
Modifier and Type | Method | Description |
---|---|---|
ElemTemplateElement |
TransformerImpl.getCurrentElement() |
Retrieves the current ElemTemplateElement that is
being executed.
|
ElemTemplateElement |
TransformState.getCurrentElement() |
Retrieves the stylesheet element that produced
the SAX event.
|
ElemTemplateElement |
XalanTransformState.getCurrentElement() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
TransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction,
ElemTemplate template,
int child) |
Given an element and mode, find the corresponding
template and process the contents.
|
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
boolean shouldAddAttrs) |
Execute each of the children of a template element.
|
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
org.w3c.dom.Node context,
QName mode,
org.xml.sax.ContentHandler handler) |
Execute each of the children of a template element.
|
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
org.xml.sax.ContentHandler handler) |
Execute each of the children of a template element.
|
void |
TransformerImpl.pushElemTemplateElement(ElemTemplateElement elem) |
Push the current template element.
|
void |
TransformerImpl.pushPairCurrentMatched(ElemTemplateElement template,
int child) |
Push both the current xsl:template or xsl:for-each onto the
stack, along with the child node that was matched.
|
void |
TransformerImpl.setCurrentElement(ElemTemplateElement e) |
Set the top of the current template elements
stack.
|
int |
TransformerImpl.transformToGlobalRTF(ElemTemplateElement templateParent) |
Given a stylesheet element, create a result tree fragment from it's
contents.
|
int |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent) |
Given a stylesheet element, create a result tree fragment from it's
contents.
|
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem) |
Take the contents of a template element, process it, and
convert it to a string.
|
Copyright ? 2014 Apache XML Project. All Rights Reserved.