|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransformerImpl | |
---|---|
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism. |
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java, including EXSLT functions. We are adding extensions to this package. |
org.apache.xalan.templates | Implements the Templates interface,
and defines a set of classes that represent an XSLT stylesheet.
StylesheetRoot implements the Templates interface, and
extends StylesheetComposed ,
which is a Stylesheet composed of itself
and its included Stylesheet objects. |
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.
TransformerImpl implements the
Transformer interface, and is the core representation
of the transformation execution.
For each node in the XML source, TransformerImpl uses the StylesheetRoot and underlying XSLT schema to determine which
template to apply: one of the templates in the StylesheetRoot, a default template rule as specified in the XSLT spec, or
none.
The Transformer works with SerializationHandler to
forward the SAX-like events produced by the
transformation to the appropriate output ContentHandler.
To the degree possible, the parsing of the XML source and application of the Templates object to that source are performed
concurrently in separate threads. |
Uses of TransformerImpl in org.apache.xalan.extensions |
---|
Methods in org.apache.xalan.extensions that return TransformerImpl | |
---|---|
TransformerImpl |
XSLProcessorContext.getTransformer()
Get the transformer. |
Methods in org.apache.xalan.extensions with parameters of type TransformerImpl | |
---|---|
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. |
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 |
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 |
ExtensionHandlerExsltFunction.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Required by ExtensionHandler (an abstract method). |
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. |
Constructors in org.apache.xalan.extensions with parameters of type TransformerImpl | |
---|---|
XSLProcessorContext(TransformerImpl transformer,
Stylesheet stylesheetTree)
Create a processor context to be passed to an extension. |
Uses of TransformerImpl in org.apache.xalan.lib |
---|
Methods in org.apache.xalan.lib with parameters of type TransformerImpl | |
---|---|
SerializationHandler |
Redirect.createSerializationHandler(TransformerImpl transformer,
java.io.FileOutputStream ostream,
java.io.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,
org.xml.sax.ContentHandler formatter)
A class that extends this class can over-ride this public method and recieve a callback that redirection is about to start |
Uses of TransformerImpl in org.apache.xalan.templates |
---|
Methods in org.apache.xalan.templates with parameters of type TransformerImpl | |
---|---|
void |
ElemUse.applyAttrSets(TransformerImpl transformer,
StylesheetRoot stylesheet)
Add the attributes from the named attribute sets to the attribute list. |
void |
ElemFallback.executeFallback(TransformerImpl transformer)
Execute the fallback elements. |
void |
ElemExsltFunction.execute(TransformerImpl transformer,
XObject[] args)
|
void |
ElemVariablePsuedo.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
void |
ElemVariable.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
void |
ElemValueOf.execute(TransformerImpl transformer)
Execute the string expression and copy the text to the result tree. |
void |
ElemUse.execute(TransformerImpl transformer)
Copy attributes specified by use-attribute-sets to the result tree. |
void |
ElemUnknown.execute(TransformerImpl transformer)
Execute an unknown element. |
void |
ElemTextLiteral.execute(TransformerImpl transformer)
Copy the text literal to the result tree. |
void |
ElemTemplateElement.execute(TransformerImpl transformer)
Execute the element's primary function. |
void |
ElemTemplate.execute(TransformerImpl transformer)
Copy the template contents into the result tree. |
void |
ElemParam.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
void |
ElemPI.execute(TransformerImpl transformer)
Create a processing instruction in the result tree. |
void |
ElemNumber.execute(TransformerImpl transformer)
Execute an xsl:number instruction. |
void |
ElemMessage.execute(TransformerImpl transformer)
Send a message to diagnostics. |
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 |
ElemIf.execute(TransformerImpl transformer)
Conditionally execute a sub-template. |
void |
ElemForEach.execute(TransformerImpl transformer)
Execute the xsl:for-each transformation |
void |
ElemFallback.execute(TransformerImpl transformer)
This is the normal call when xsl:fallback is instantiated. |
void |
ElemExtensionCall.execute(TransformerImpl transformer)
Execute an extension. |
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 |
ElemElement.execute(TransformerImpl transformer)
Create an element in the result tree. |
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 |
ElemCopy.execute(TransformerImpl transformer)
The xsl:copy element provides an easy way of copying the current node. |
void |
ElemComment.execute(TransformerImpl transformer)
Execute the xsl:comment transformation |
void |
ElemChoose.execute(TransformerImpl transformer)
Execute the xsl:choose transformation. |
void |
ElemCallTemplate.execute(TransformerImpl transformer)
Invoke a named template. |
void |
ElemAttributeSet.execute(TransformerImpl transformer)
Apply a set of attributes to the element. |
void |
ElemApplyTemplates.execute(TransformerImpl transformer)
Apply the context node to the matching templates. |
void |
ElemApplyImport.execute(TransformerImpl transformer)
Execute the xsl:apply-imports transformation. |
java.lang.String |
ElemExtensionCall.getAttribute(java.lang.String rawName,
org.w3c.dom.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 |
ElemTemplateElement.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
ElemExtensionDecl.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. |
Constructors in org.apache.xalan.templates with parameters of type TransformerImpl | |
---|---|
XUnresolvedVariable(ElemVariable obj,
int sourceNode,
TransformerImpl transformer,
int varStackPos,
int varStackContext,
boolean isGlobal)
Create an XUnresolvedVariable, that may be executed at a later time. |
Uses of TransformerImpl in org.apache.xalan.trace |
---|
Fields in org.apache.xalan.trace declared as TransformerImpl | |
---|---|
TransformerImpl |
TracerEvent.m_processor
The XSLT processor instance. |
TransformerImpl |
SelectionEvent.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
|
Constructors in org.apache.xalan.trace with parameters of type TransformerImpl | |
---|---|
EndSelectionEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Create an EndSelectionEvent. |
|
ExtensionEvent(TransformerImpl transformer,
java.lang.Class clazz)
|
|
ExtensionEvent(TransformerImpl transformer,
java.lang.reflect.Constructor constructor,
java.lang.Object[] arguments)
|
|
ExtensionEvent(TransformerImpl transformer,
java.lang.reflect.Method method,
java.lang.Object instance,
java.lang.Object[] arguments)
|
|
GenerateEvent(TransformerImpl processor,
int eventType,
char[] ch,
int start,
int length)
Constructor for characters, cdate events. |
|
GenerateEvent(TransformerImpl processor,
int eventType,
java.lang.String name,
org.xml.sax.Attributes atts)
Constructor for startElement, endElement events. |
|
GenerateEvent(TransformerImpl processor,
int eventType,
java.lang.String name,
java.lang.String data)
Constructor for processingInstruction events. |
|
GenerateEvent(TransformerImpl processor,
int eventType,
java.lang.String data)
Constructor for comment and entity ref events. |
|
GenerateEvent(TransformerImpl processor,
int eventType)
Constructor for startDocument, endDocument events. |
|
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. |
|
TraceManager(TransformerImpl transformer)
Constructor for the trace manager. |
|
TracerEvent(TransformerImpl processor,
org.w3c.dom.Node sourceNode,
QName mode,
ElemTemplateElement styleNode)
Create an event originating at the given node of the style tree. |
Uses of TransformerImpl in org.apache.xalan.transformer |
---|
Methods in org.apache.xalan.transformer that return TransformerImpl | |
---|---|
TransformerImpl |
TrAXFilter.getTransformer()
Return the Transformer object used for this XML filter. |
Methods in org.apache.xalan.transformer with parameters of type TransformerImpl | |
---|---|
static void |
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer,
java.lang.String ns,
java.lang.String localName)
Switch to HTML serializer if element is HTML |
Constructors in org.apache.xalan.transformer with parameters of type TransformerImpl | |
---|---|
MsgMgr(TransformerImpl transformer)
Create a message manager object. |
|
StackGuard(TransformerImpl transformerImpl)
Constructor StackGuard |
|
TransformerHandlerImpl(TransformerImpl transformer,
boolean doFragment,
java.lang.String baseSystemID)
Construct a TransformerHandlerImpl. |
|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |