Package com.saxonica.serialize
Class Base64BinaryEmitter
- java.lang.Object
-
- net.sf.saxon.event.SequenceReceiver
-
- net.sf.saxon.serialize.Emitter
-
- com.saxonica.serialize.BinaryEmitter
-
- com.saxonica.serialize.Base64BinaryEmitter
-
- All Implemented Interfaces:
javax.xml.transform.Result
,Receiver
,ReceiverWithOutputProperties
public class Base64BinaryEmitter extends BinaryEmitter
This emitter implements output method saxon:base64Binary. All nodes in the result tree other than text nodes are ignored. Text nodes are required to be in the lexical space of base64binary, and are serialized by writing the corresponding octets to the output file. All other serialization parameters are ignored
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.serialize.Emitter
allCharactersEncodable, characterSet, outputProperties, outputStream, streamResult, writer
-
Fields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemId
-
-
Constructor Summary
Constructors Constructor Description Base64BinaryEmitter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
textNodeToBinary(java.lang.CharSequence chars)
-
Methods inherited from class com.saxonica.serialize.BinaryEmitter
characters, comment, endDocument, endElement, open, processingInstruction, startDocument, startElement, usesTypeAnnotations, usesWriter
-
Methods inherited from class net.sf.saxon.serialize.Emitter
append, close, getOutputProperties, getOutputStream, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setStreamResult, setUnparsedEntity, setWriter
-
Methods inherited from class net.sf.saxon.event.SequenceReceiver
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, setPipelineConfiguration, setSystemId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.event.Receiver
append, getPipelineConfiguration, handlesAppend, setPipelineConfiguration, setSystemId
-
-
-
-
Method Detail
-
textNodeToBinary
protected byte[] textNodeToBinary(java.lang.CharSequence chars) throws XPathException
- Specified by:
textNodeToBinary
in classBinaryEmitter
- Throws:
XPathException
-
-