|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SerializationHandler | |
---|---|
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.serialize | |
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. |
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.serializer | Processes SAX events into streams.
The SerializerFactory is used to
create a Serializer from a set of
output properties (see OutputKeys ).
ToStream acts as the main
baseclass for the Xalan serializer implementations. |
org.apache.xml.serializer.dom3 |
Uses of SerializationHandler in org.apache.xalan.lib |
---|
Methods in org.apache.xalan.lib that return SerializationHandler | |
---|---|
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. |
Uses of SerializationHandler in org.apache.xalan.serialize |
---|
Methods in org.apache.xalan.serialize with parameters of type SerializationHandler | |
---|---|
static void |
SerializerUtils.addAttributes(SerializationHandler handler,
int src)
Copy DOM attributes to the result element. |
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.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. |
Uses of SerializationHandler in org.apache.xalan.transformer |
---|
Methods in org.apache.xalan.transformer that return SerializationHandler | |
---|---|
SerializationHandler |
TransformerImpl.createSerializationHandler(javax.xml.transform.Result outputTarget,
OutputProperties format)
Create a ContentHandler from a Result object and an OutputProperties. |
SerializationHandler |
TransformerImpl.createSerializationHandler(javax.xml.transform.Result outputTarget)
Create a result ContentHandler from a Result object, based on the current OutputProperties. |
SerializationHandler |
TransformerImpl.getResultTreeHandler()
Get the SerializationHandler object. |
SerializationHandler |
TransformerImpl.getSerializationHandler()
Get the SerializationHandler object. |
Methods in org.apache.xalan.transformer with parameters of type SerializationHandler | |
---|---|
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)
|
Constructors in org.apache.xalan.transformer with parameters of type SerializationHandler | |
---|---|
TreeWalker2Result(TransformerImpl transformer,
SerializationHandler handler)
Constructor. |
Uses of SerializationHandler in org.apache.xalan.xsltc |
---|
Methods in org.apache.xalan.xsltc that return SerializationHandler | |
---|---|
SerializationHandler |
DOM.getOutputDomBuilder()
|
Methods in org.apache.xalan.xsltc with parameters of type SerializationHandler | |
---|---|
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)
|
java.lang.String |
DOM.shallowCopy(int node,
SerializationHandler handler)
|
void |
Translet.transform(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler)
|
void |
Translet.transform(DOM document,
SerializationHandler[] handlers)
|
void |
Translet.transform(DOM document,
SerializationHandler handler)
|
Uses of SerializationHandler in org.apache.xalan.xsltc.dom |
---|
Classes in org.apache.xalan.xsltc.dom that implement SerializationHandler | |
---|---|
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). |
Methods in org.apache.xalan.xsltc.dom that return SerializationHandler | |
---|---|
SerializationHandler |
SimpleResultTreeImpl.getOutputDomBuilder()
|
SerializationHandler |
SAXImpl.getOutputDomBuilder()
Return a SerializationHandler for output handling. |
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 |
AdaptiveResultTreeImpl.getOutputDomBuilder()
|
Methods in org.apache.xalan.xsltc.dom with parameters of type SerializationHandler | |
---|---|
void |
SimpleResultTreeImpl.characters(int node,
SerializationHandler handler)
Dispatch the character content of a node to an output handler. |
void |
SAXImpl.characters(int node,
SerializationHandler handler)
Copy the string value of a node directly to an output handler |
void |
MultiDOM.characters(int textNode,
SerializationHandler handler)
|
void |
DOMAdapter.characters(int textNode,
SerializationHandler handler)
|
void |
AdaptiveResultTreeImpl.characters(int node,
SerializationHandler handler)
Dispatch the character content of a node to an output handler. |
void |
SimpleResultTreeImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler)
|
void |
SAXImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler)
Copy a node-set to an output handler |
void |
MultiDOM.copy(DTMAxisIterator nodes,
SerializationHandler handler)
|
void |
DOMAdapter.copy(DTMAxisIterator nodes,
SerializationHandler handler)
|
void |
AdaptiveResultTreeImpl.copy(DTMAxisIterator nodes,
SerializationHandler handler)
|
void |
SimpleResultTreeImpl.copy(int node,
SerializationHandler handler)
|
void |
SAXImpl.copy(int node,
SerializationHandler handler)
Performs a deep copy (ref. |
void |
MultiDOM.copy(int node,
SerializationHandler handler)
|
void |
DOMAdapter.copy(int node,
SerializationHandler handler)
|
void |
AdaptiveResultTreeImpl.copy(int node,
SerializationHandler handler)
|
void |
SAXImpl.copy(SerializationHandler handler)
Copy the whole tree to an output handler |
java.lang.String |
SimpleResultTreeImpl.shallowCopy(int node,
SerializationHandler handler)
|
java.lang.String |
SAXImpl.shallowCopy(int node,
SerializationHandler handler)
Performs a shallow copy (ref. |
java.lang.String |
MultiDOM.shallowCopy(int node,
SerializationHandler handler)
|
java.lang.String |
DOMAdapter.shallowCopy(int node,
SerializationHandler handler)
|
java.lang.String |
AdaptiveResultTreeImpl.shallowCopy(int node,
SerializationHandler handler)
|
Uses of SerializationHandler in org.apache.xalan.xsltc.runtime |
---|
Classes in org.apache.xalan.xsltc.runtime that implement SerializationHandler | |
---|---|
class |
StringValueHandler
|
Methods in org.apache.xalan.xsltc.runtime that return SerializationHandler | |
---|---|
SerializationHandler |
AbstractTranslet.openOutputHandler(java.lang.String filename,
boolean append)
Multiple output document extension. |
SerializationHandler |
AbstractTranslet.openOutputHandler(java.lang.String filename)
|
Methods in org.apache.xalan.xsltc.runtime with parameters of type SerializationHandler | |
---|---|
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(java.lang.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(java.lang.Object obj,
SerializationHandler handler,
int node,
DOM dom)
|
static java.lang.String |
BasisLibrary.startXslElement(java.lang.String qname,
java.lang.String namespace,
SerializationHandler handler,
DOM dom,
int node)
Utility function for the implementation of xsl:element. |
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 |
Uses of SerializationHandler in org.apache.xalan.xsltc.runtime.output |
---|
Methods in org.apache.xalan.xsltc.runtime.output that return SerializationHandler | |
---|---|
SerializationHandler |
TransletOutputHandlerFactory.getSerializationHandler()
|
Uses of SerializationHandler in org.apache.xalan.xsltc.trax |
---|
Methods in org.apache.xalan.xsltc.trax that return SerializationHandler | |
---|---|
SerializationHandler |
TransformerImpl.getOutputHandler(javax.xml.transform.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. |
Methods in org.apache.xalan.xsltc.trax with parameters of type SerializationHandler | |
---|---|
void |
TransformerImpl.transferOutputProperties(SerializationHandler handler)
This method is used to pass any properties to the output handler when running the identity transform. |
Constructors in org.apache.xalan.xsltc.trax with parameters of type SerializationHandler | |
---|---|
DOM2TO(org.w3c.dom.Node root,
SerializationHandler handler)
|
Uses of SerializationHandler in org.apache.xml.serializer |
---|
Classes in org.apache.xml.serializer that implement SerializationHandler | |
---|---|
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. |
Uses of SerializationHandler in org.apache.xml.serializer.dom3 |
---|
Methods in org.apache.xml.serializer.dom3 with parameters of type SerializationHandler | |
---|---|
void |
DOM3SerializerImpl.setSerializationHandler(SerializationHandler handler)
Sets a SerializationHandler on the DOM Serializer. |
Constructors in org.apache.xml.serializer.dom3 with parameters of type SerializationHandler | |
---|---|
DOM3SerializerImpl(SerializationHandler handler)
Constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |