net.sf.saxon.event
Class SerializerFactory
java.lang.Object
net.sf.saxon.event.SerializerFactory
- public class SerializerFactory
- extends Object
Helper class to construct a serialization pipeline for a given result destination
and a given set of output properties. The pipeline is represented by a Receiver object
to which result tree events are sent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getReceiver
public static Receiver getReceiver(Result result,
PipelineConfiguration pipe,
Properties props)
throws XPathException
- Get a Receiver that wraps a given Result object
- Parameters:
result
- The final destination of the serialized output. Usually a StreamResult,
but other kinds of Result are possible.pipe
- The PipelineConfiguration.props
- The serialization properties
- Throws:
XPathException