com.saxonica.serialize
Class HexBinaryEmitter
java.lang.Object
net.sf.saxon.serialize.Emitter
com.saxonica.serialize.BinaryEmitter
com.saxonica.serialize.HexBinaryEmitter
- All Implemented Interfaces:
- Result, Receiver
public class HexBinaryEmitter
- extends BinaryEmitter
This emitter implements output method saxon:hexBinary. 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
Methods inherited from class com.saxonica.serialize.BinaryEmitter |
attribute, characters, comment, endDocument, endElement, namespace, open, processingInstruction, startContent, startDocument, startElement, usesTypeAnnotations, usesWriter |
Methods inherited from class net.sf.saxon.serialize.Emitter |
close, getConfiguration, getOutputProperties, getOutputStream, getPipelineConfiguration, getSystemId, getWriter, makeOutputStream, makeWriter, setOutputProperties, setOutputStream, setPipelineConfiguration, setStreamResult, setSystemId, setUnparsedEntity, setWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexBinaryEmitter
public HexBinaryEmitter()
textNodeToBinary
protected byte[] textNodeToBinary(CharSequence chars)
throws XPathException
- Specified by:
textNodeToBinary
in class BinaryEmitter
- Throws:
XPathException
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.