Class HexBinaryEmitter

  extended by net.sf.saxon.serialize.Emitter
      extended by com.saxonica.serialize.BinaryEmitter
          extended by 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

Field Summary
Fields inherited from class net.sf.saxon.serialize.Emitter
allCharactersEncodable, characterSet, namePool, outputProperties, outputStream, pipelineConfig, streamResult, systemId, writer
Fields inherited from interface javax.xml.transform.Result
Constructor Summary
Method Summary
protected  byte[] textNodeToBinary(CharSequence chars)
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

Constructor Detail


public HexBinaryEmitter()
Method Detail


protected byte[] textNodeToBinary(CharSequence chars)
                           throws XPathException
Specified by:
textNodeToBinary in class BinaryEmitter

Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.