Package | Description |
---|---|
org.apache.xalan.extensions |
Implementation of Xalan Extension Mechanism.
|
org.apache.xalan.lib |
Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
|
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 and Description |
---|---|
TransformerImpl |
XSLProcessorContext.getTransformer()
Get the transformer.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtensionHandlerJavaPackage.processElement(String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Object methodKey)
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerJavaClass.processElement(String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Object methodKey)
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerGeneral.processElement(String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Object methodKey)
Process a call to this extension namespace via an element.
|
abstract void |
ExtensionHandler.processElement(String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Object methodKey)
Process a call to this extension namespace via an element.
|
void |
ExtensionHandlerExsltFunction.processElement(String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Object methodKey)
Required by ExtensionHandler (an abstract method).
|
Constructor and Description |
---|
XSLProcessorContext(TransformerImpl transformer,
Stylesheet stylesheetTree)
Create a processor context to be passed to an extension.
|
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
Redirect.createSerializationHandler(TransformerImpl transformer,
FileOutputStream ostream,
File file,
OutputProperties format)
A class that extends this one could over-ride this public method and receive
a callback for the creation of the serializer used in the redirection.
|
void |
Redirect.endRedirection(TransformerImpl transf)
A class that extends this class can over-ride this public method and receive
a callback that redirection to the ContentHandler specified in the startRedirection()
call has ended
|
void |
Redirect.startRedirection(TransformerImpl transf,
ContentHandler formatter)
A class that extends this class can over-ride this public method and recieve
a callback that redirection is about to start
|
Modifier and Type | Method and Description |
---|---|
void |
ElemUse.applyAttrSets(TransformerImpl transformer,
StylesheetRoot stylesheet)
Add the attributes from the named attribute sets to the attribute list.
|
void |
ElemForEach.execute(TransformerImpl transformer)
Execute the xsl:for-each transformation
|
void |
ElemExtensionCall.execute(TransformerImpl transformer)
Execute an extension.
|
void |
ElemApplyImport.execute(TransformerImpl transformer)
Execute the xsl:apply-imports transformation.
|
void |
ElemPI.execute(TransformerImpl transformer)
Create a processing instruction in the result tree.
|
void |
ElemCopy.execute(TransformerImpl transformer)
The xsl:copy element provides an easy way of copying the current node.
|
void |
ElemVariablePsuedo.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack.
|
void |
ElemMessage.execute(TransformerImpl transformer)
Send a message to diagnostics.
|
void |
ElemCopyOf.execute(TransformerImpl transformer)
The xsl:copy-of element can be used to insert a result tree
fragment into the result tree, without first converting it to
a string as xsl:value-of does (see [7.6.1 Generating Text with
xsl:value-of]).
|
void |
ElemExsltFuncResult.execute(TransformerImpl transformer)
Generate the EXSLT function return value, and assign it to the variable
index slot assigned for it in ElemExsltFunction compose().
|
void |
ElemFallback.execute(TransformerImpl transformer)
This is the normal call when xsl:fallback is instantiated.
|
void |
ElemValueOf.execute(TransformerImpl transformer)
Execute the string expression and copy the text to the
result tree.
|
void |
ElemElement.execute(TransformerImpl transformer)
Create an element in the result tree.
|
void |
ElemIf.execute(TransformerImpl transformer)
Conditionally execute a sub-template.
|
void |
ElemUnknown.execute(TransformerImpl transformer)
Execute an unknown element.
|
void |
ElemTemplate.execute(TransformerImpl transformer)
Copy the template contents into the result tree.
|
void |
ElemUse.execute(TransformerImpl transformer)
Copy attributes specified by use-attribute-sets to the result tree.
|
void |
ElemCallTemplate.execute(TransformerImpl transformer)
Invoke a named template.
|
void |
ElemLiteralResult.execute(TransformerImpl transformer)
Copy a Literal Result Element into the Result tree, copy the
non-excluded namespace attributes, copy the attributes not
of the XSLT namespace, and execute the children of the LRE.
|
void |
ElemNumber.execute(TransformerImpl transformer)
Execute an xsl:number instruction.
|
void |
ElemTemplateElement.execute(TransformerImpl transformer)
Execute the element's primary function.
|
void |
ElemVariable.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack.
|
void |
ElemTextLiteral.execute(TransformerImpl transformer)
Copy the text literal to the result tree.
|
void |
ElemAttributeSet.execute(TransformerImpl transformer)
Apply a set of attributes to the element.
|
void |
ElemParam.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack.
|
void |
ElemChoose.execute(TransformerImpl transformer)
Execute the xsl:choose transformation.
|
void |
ElemApplyTemplates.execute(TransformerImpl transformer)
Apply the context node to the matching templates.
|
void |
ElemComment.execute(TransformerImpl transformer)
Execute the xsl:comment transformation
|
void |
ElemExsltFunction.execute(TransformerImpl transformer,
XObject[] args) |
void |
ElemFallback.executeFallback(TransformerImpl transformer)
Execute the fallback elements.
|
String |
ElemExtensionCall.getAttribute(String rawName,
Node sourceNode,
TransformerImpl transformer)
Return the value of the attribute interpreted as an Attribute
Value Template (in other words, you can use curly expressions
such as href="http://{website}".
|
XObject |
ElemWithParam.getValue(TransformerImpl transformer,
int sourceNode)
Get the XObject representation of the variable.
|
XObject |
ElemVariable.getValue(TransformerImpl transformer,
int sourceNode)
Get the XObject representation of the variable.
|
void |
ElemExtensionDecl.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements
only, just before the transform begins.
|
void |
ElemTemplateElement.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements
only, just before the transform begins.
|
void |
ElemForEach.transformSelectedNodes(TransformerImpl transformer)
Perform a query if needed, and call transformNode for each child.
|
void |
ElemApplyTemplates.transformSelectedNodes(TransformerImpl transformer)
Perform a query if needed, and call transformNode for each child.
|
Constructor and Description |
---|
XUnresolvedVariable(ElemVariable obj,
int sourceNode,
TransformerImpl transformer,
int varStackPos,
int varStackContext,
boolean isGlobal)
Create an XUnresolvedVariable, that may be executed at a later time.
|
Modifier and Type | Field and Description |
---|---|
TransformerImpl |
SelectionEvent.m_processor
The XSLT processor instance.
|
TransformerImpl |
TracerEvent.m_processor
The XSLT processor instance.
|
TransformerImpl |
GenerateEvent.m_processor
The XSLT Transformer, which either directly or indirectly contains most needed information.
|
TransformerImpl |
ExtensionEvent.m_transformer |
Constructor and Description |
---|
EndSelectionEvent(TransformerImpl processor,
Node sourceNode,
ElemTemplateElement styleNode,
String attributeName,
XPath xpath,
XObject selection)
Create an EndSelectionEvent.
|
ExtensionEvent(TransformerImpl transformer,
Class clazz) |
ExtensionEvent(TransformerImpl transformer,
Constructor constructor,
Object[] arguments) |
ExtensionEvent(TransformerImpl transformer,
Method method,
Object instance,
Object[] arguments) |
GenerateEvent(TransformerImpl processor,
int eventType)
Constructor for startDocument, endDocument events.
|
GenerateEvent(TransformerImpl processor,
int eventType,
char[] ch,
int start,
int length)
Constructor for characters, cdate events.
|
GenerateEvent(TransformerImpl processor,
int eventType,
String data)
Constructor for comment and entity ref events.
|
GenerateEvent(TransformerImpl processor,
int eventType,
String name,
Attributes atts)
Constructor for startElement, endElement events.
|
GenerateEvent(TransformerImpl processor,
int eventType,
String name,
String data)
Constructor for processingInstruction events.
|
SelectionEvent(TransformerImpl processor,
Node sourceNode,
ElemTemplateElement styleNode,
String attributeName,
XPath xpath,
XObject selection)
Create an event originating at the given node of the style tree.
|
TraceManager(TransformerImpl transformer)
Constructor for the trace manager.
|
TracerEvent(TransformerImpl processor,
Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Create an event originating at the given node of the style tree.
|
Modifier and Type | Method and Description |
---|---|
TransformerImpl |
TrAXFilter.getTransformer()
Return the Transformer object used for this XML filter.
|
Modifier and Type | Method and Description |
---|---|
static void |
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer,
String ns,
String localName)
Switch to HTML serializer if element is HTML
|
Constructor and Description |
---|
MsgMgr(TransformerImpl transformer)
Create a message manager object.
|
StackGuard(TransformerImpl transformerImpl)
Constructor StackGuard
|
TransformerHandlerImpl(TransformerImpl transformer,
boolean doFragment,
String baseSystemID)
Construct a TransformerHandlerImpl.
|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.