Package | Description |
---|---|
org.apache.xalan.lib |
Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
|
org.apache.xalan.serialize | |
org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
org.apache.xalan.xsltc | |
org.apache.xalan.xsltc.dom | |
org.apache.xalan.xsltc.runtime | |
org.apache.xalan.xsltc.runtime.output | |
org.apache.xalan.xsltc.trax | |
org.apache.xml.dtm.ref.sax2dtm | |
org.apache.xml.serializer |
Processes SAX events into streams.
|
org.apache.xml.serializer.dom3 |
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
SerializerUtils.addAttribute(SerializationHandler handler,
int attr)
Copy an DOM attribute to the created output element, executing
attribute templates as need be, and processing the xsl:use
attribute.
|
static void |
SerializerUtils.addAttributes(SerializationHandler handler,
int src)
Copy DOM attributes to the result element.
|
static void |
SerializerUtils.ensureNamespaceDeclDeclared(SerializationHandler handler,
DTM dtm,
int namespace)
This function checks to make sure a given prefix is really
declared.
|
static boolean |
SerializerUtils.isDefinedNSDecl(SerializationHandler serializer,
int attr,
DTM dtm)
Returns whether a namespace is defined
|
static void |
SerializerUtils.outputResultTreeFragment(SerializationHandler handler,
XObject obj,
XPathContext support)
Given a result tree fragment, walk the tree and
output it to the SerializationHandler.
|
static void |
SerializerUtils.processNSDecls(SerializationHandler handler,
int src,
int type,
DTM dtm)
Copy xmlns: attributes in if not already in scope.
|
Modifier and Type | Method and Description |
---|---|
protected String |
ElemAttribute.resolvePrefix(SerializationHandler rhandler,
String prefix,
String nodeNamespace)
Resolve the namespace into a prefix.
|
protected String |
ElemElement.resolvePrefix(SerializationHandler rhandler,
String prefix,
String nodeNamespace)
Resolve the namespace into a prefix.
|
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
TransformerImpl.createSerializationHandler(Result outputTarget)
Create a result ContentHandler from a Result object, based
on the current OutputProperties.
|
SerializationHandler |
TransformerImpl.createSerializationHandler(Result outputTarget,
OutputProperties format)
Create a ContentHandler from a Result object and an OutputProperties.
|
SerializationHandler |
TransformerImpl.getResultTreeHandler()
Get the SerializationHandler object.
|
SerializationHandler |
TransformerImpl.getSerializationHandler()
Get the SerializationHandler object.
|
Modifier and Type | Method and Description |
---|---|
static void |
ClonerToResultTree.cloneToResultTree(int node,
int nodeType,
DTM dtm,
SerializationHandler rth,
boolean shouldCloneAttributes)
Clone an element with or without children.
|
void |
TransformerImpl.setSerializationHandler(SerializationHandler xoh) |
Constructor and Description |
---|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
DOM.getOutputDomBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
Translet.buildKeys(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler,
int root) |
void |
DOM.characters(int textNode,
SerializationHandler handler) |
void |
DOM.copy(DTMAxisIterator nodes,
SerializationHandler handler) |
void |
DOM.copy(int node,
SerializationHandler handler) |
String |
DOM.shallowCopy(int node,
SerializationHandler handler) |
void |
Translet.transform(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler) |
void |
Translet.transform(DOM document,
SerializationHandler handler) |
void |
Translet.transform(DOM document,
SerializationHandler[] handlers) |
Modifier and Type | Class and Description |
---|---|
class |
AdaptiveResultTreeImpl
AdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments (RTF).
|
class |
SimpleResultTreeImpl
This class represents a light-weight DOM model for simple result tree fragment(RTF).
|
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
AdaptiveResultTreeImpl.getOutputDomBuilder() |
SerializationHandler |
SimpleResultTreeImpl.getOutputDomBuilder() |
SerializationHandler |
MultiDOM.getOutputDomBuilder()
Returns a DOMBuilder class wrapped in a SAX adapter.
|
SerializationHandler |
DOMAdapter.getOutputDomBuilder()
Returns a SerializationHandler class wrapped in a SAX adapter.
|
SerializationHandler |
SAXImpl.getOutputDomBuilder()
Return a SerializationHandler for output handling.
|
Modifier and Type | Method and Description |
---|---|
void |
AdaptiveResultTreeImpl.characters(int node,
SerializationHandler handler)
Dispatch the character content of a node to an output handler.
|
void |
SimpleResultTreeImpl.characters(int node,
SerializationHandler handler)
Dispatch the character content of a node to an output handler.
|
void |
MultiDOM.characters(int textNode,
SerializationHandler handler) |
void |
DOMAdapter.characters(int textNode,
SerializationHandler handler) |
void |
SAXImpl.characters(int node,
SerializationHandler handler)
Copy the string value of a node directly to an output handler
|
void |
AdaptiveResultTreeImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler) |
void |
SimpleResultTreeImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler) |
void |
MultiDOM.copy(DTMAxisIterator nodes,
SerializationHandler handler) |
void |
DOMAdapter.copy(DTMAxisIterator nodes,
SerializationHandler handler) |
void |
SAXImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler)
Copy a node-set to an output handler
|
void |
AdaptiveResultTreeImpl.copy(int node,
SerializationHandler handler) |
void |
SimpleResultTreeImpl.copy(int node,
SerializationHandler handler) |
void |
MultiDOM.copy(int node,
SerializationHandler handler) |
void |
DOMAdapter.copy(int node,
SerializationHandler handler) |
void |
SAXImpl.copy(int node,
SerializationHandler handler)
Performs a deep copy (ref.
|
void |
SAXImpl.copy(SerializationHandler handler)
Copy the whole tree to an output handler
|
String |
AdaptiveResultTreeImpl.shallowCopy(int node,
SerializationHandler handler) |
String |
SimpleResultTreeImpl.shallowCopy(int node,
SerializationHandler handler) |
String |
MultiDOM.shallowCopy(int node,
SerializationHandler handler) |
String |
DOMAdapter.shallowCopy(int node,
SerializationHandler handler) |
String |
SAXImpl.shallowCopy(int node,
SerializationHandler handler)
Performs a shallow copy (ref.
|
Modifier and Type | Class and Description |
---|---|
class |
StringValueHandler |
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
AbstractTranslet.openOutputHandler(String filename) |
SerializationHandler |
AbstractTranslet.openOutputHandler(String filename,
boolean append)
Multiple output document extension.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTranslet.buildKeys(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler,
int root)
This method builds key indexes - it is overridden in the compiled
translet in cases where the
|
void |
AbstractTranslet.characters(String string,
SerializationHandler handler)
Used by some compiled code as a shortcut for passing strings to the
output handler
|
void |
AbstractTranslet.closeOutputHandler(SerializationHandler handler) |
static void |
BasisLibrary.copy(Object obj,
SerializationHandler handler,
int node,
DOM dom) |
static String |
BasisLibrary.startXslElement(String qname,
String namespace,
SerializationHandler handler,
DOM dom,
int node)
Utility function for the implementation of xsl:element.
|
protected void |
AbstractTranslet.transferOutputSettings(SerializationHandler handler)
Transfer the output settings to the output post-processor
|
abstract void |
AbstractTranslet.transform(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler)
Main transform() method - this is overridden by the compiled translet
|
void |
AbstractTranslet.transform(DOM document,
SerializationHandler handler)
Calls transform() with a given output handler
|
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
TransletOutputHandlerFactory.getSerializationHandler() |
Modifier and Type | Method and Description |
---|---|
SerializationHandler |
TransformerImpl.getOutputHandler(Result result)
Create an output handler for the transformation output based on
the type and contents of the TrAX Result object passed to the
transform() method.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformerImpl.transferOutputProperties(SerializationHandler handler)
This method is used to pass any properties to the output handler
when running the identity transform.
|
Constructor and Description |
---|
DOM2TO(Node root,
SerializationHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected void |
SAX2DTM2.copyAttribute(int nodeID,
int exptype,
SerializationHandler handler)
Copy an Attribute node to a SerializationHandler
|
protected void |
SAX2DTM2.copyAttributes(int nodeID,
SerializationHandler handler)
Copy attribute nodes from an element .
|
protected String |
SAX2DTM2.copyElement(int nodeID,
int exptype,
SerializationHandler handler)
Copy an Element node to a SerializationHandler.
|
protected void |
SAX2DTM2.copyNS(int nodeID,
SerializationHandler handler,
boolean inScope)
Copy namespace nodes.
|
protected void |
SAX2DTM2.copyTextNode(int nodeID,
SerializationHandler handler)
Copy the String value of a Text node to a SerializationHandler
|
Modifier and Type | Class and Description |
---|---|
class |
EmptySerializer
This class is an adapter class.
|
class |
SerializerBase
This class acts as a base class for the XML "serializers"
and the stream serializers.
|
class |
ToHTMLSAXHandler
Deprecated.
As of Xalan 2.7.1, replaced by the use of
ToXMLSAXHandler . |
class |
ToHTMLStream
This serializer takes a series of SAX or
SAX-like events and writes its output
to the given stream.
|
class |
ToSAXHandler
This class is used to provide a base behavior to be inherited
by other To...SAXHandler serializers.
|
class |
ToStream
This abstract class is a base class for other stream
serializers (xml, html, text ...) that write output to a stream.
|
class |
ToTextSAXHandler
Deprecated.
As of Xalan 2.7.1, replaced by the use of
ToXMLSAXHandler . |
class |
ToTextStream
This class is not a public API.
|
class |
ToUnknownStream
This class wraps another SerializationHandler.
|
class |
ToXMLSAXHandler
This class receives notification of SAX-like events, and with gathered
information over these calls it will invoke the equivalent SAX methods
on a handler, the ultimate xsl:output method is known to be "xml".
|
class |
ToXMLStream
This class converts SAX or SAX-like calls to a
serialized xml document.
|
Modifier and Type | Method and Description |
---|---|
void |
DOM3SerializerImpl.setSerializationHandler(SerializationHandler handler)
Sets a SerializationHandler on the DOM Serializer.
|
Constructor and Description |
---|
DOM3SerializerImpl(SerializationHandler handler)
Constructor
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.