Package com.sun.xml.fastinfoset.stax
Class StAXDocumentSerializer
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.sun.xml.fastinfoset.Encoder
-
- com.sun.xml.fastinfoset.stax.StAXDocumentSerializer
-
- All Implemented Interfaces:
XMLStreamWriter,FastInfosetSerializer,LowLevelFastInfosetStreamWriter,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Direct Known Subclasses:
FastInfosetWriter
public class StAXDocumentSerializer extends Encoder implements XMLStreamWriter, LowLevelFastInfosetStreamWriter
The Fast Infoset StAX serializer.Instantiate this serializer to serialize a fast infoset document in accordance with the StAX API.
More than one fast infoset document may be encoded to the
OutputStream.
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]_attributesArrayList of attributes qnames and values defined in the current element.protected int_attributesArrayIndexprotected String_currentLocalNameLocal name of current element.protected String_currentPrefixPrefix of current element.protected String_currentUriNamespace of current element.protected String_encodingprotected boolean_inStartElementThis flag indicates when there is a pending start element event.protected boolean_isEmptyElementThis flag indicates if the current element is empty.protected StAXManager_managerprotected String[]_namespacesArrayList of namespaces defined in the current element.protected int_namespacesArrayIndexprotected NamespaceContextImplementation_nsContextMapping between uris and prefixes.protected boolean[]_nsSupportContextStackprotected int_stackCount-
Fields inherited from class com.sun.xml.fastinfoset.Encoder
_b, _characterEncodingSchemeSystemDefault, _charBuffer, _markIndex, _octetBuffer, _octetBufferIndex, _s, _terminate, _v, _vData, attributeValueMapTotalCharactersConstraint, CHARACTER_ENCODING_SCHEME_SYSTEM_PROPERTY, characterContentChunkMapTotalCharactersConstraint, maxAttributeValueSize, maxCharacterContentChunkSize, minAttributeValueSize, minCharacterContentChunkSize
-
Fields inherited from interface org.jvnet.fastinfoset.FastInfosetSerializer
ATTRIBUTE_VALUE_MAP_MEMORY_CONSTRAINT, BUFFER_SIZE_PROPERTY, CHARACTER_CONTENT_CHUNK_MAP_MEMORY_CONSTRAINT, EXTERNAL_VOCABULARIES_PROPERTY, IGNORE_COMMENTS_FEATURE, IGNORE_DTD_FEATURE, IGNORE_PROCESSING_INSTRUCTIONS_FEATURE, IGNORE_WHITE_SPACE_TEXT_CONTENT_FEATURE, MAX_ATTRIBUTE_VALUE_SIZE, MAX_CHARACTER_CONTENT_CHUNK_SIZE, MIN_ATTRIBUTE_VALUE_SIZE, MIN_CHARACTER_CONTENT_CHUNK_SIZE, REGISTERED_ENCODING_ALGORITHMS_PROPERTY, UTF_16BE, UTF_8
-
-
Constructor Summary
Constructors Constructor Description StAXDocumentSerializer()StAXDocumentSerializer(OutputStream outputStream)StAXDocumentSerializer(OutputStream outputStream, StAXManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidencodeTerminationAndCurrentElement(boolean terminateAfter)voidflush()intgetLocalNameIndex()Get the current index that was applied to an [local name] of an Element or Attribute Information Item.NamespaceContextgetNamespaceContext()intgetNextAttributeIndex()Get the next index to apply to an Attribute Information Item.intgetNextElementIndex()Get the next index to apply to an Element Information Item.intgetNextLocalNameIndex()Get the next index to apply to an [local name] of an Element or Attribute Information Item.StringgetPrefix(String uri)ObjectgetProperty(String name)voidinitiateLowLevelWriting()Initiate low level writing of an element fragment.voidreset()Reset the encoder for reuse encoding another XML infoset.voidsetDefaultNamespace(String uri)voidsetEncoding(String encoding)voidsetManager(StAXManager manager)voidsetNamespaceContext(NamespaceContext context)Sets the current namespace context for prefix and uri bindings.voidsetPrefix(String prefix, String uri)voidwriteAttribute(String localName, String value)voidwriteAttribute(String namespaceURI, String localName, String value)voidwriteAttribute(String prefix, String namespaceURI, String localName, String value)voidwriteCData(String text)voidwriteCharacters(char[] text, int start, int len)voidwriteCharacters(String text)voidwriteComment(String data)voidwriteDefaultNamespace(String namespaceURI)voidwriteDTD(String dtd)voidwriteEmptyElement(String localName)voidwriteEmptyElement(String namespaceURI, String localName)voidwriteEmptyElement(String prefix, String localName, String namespaceURI)voidwriteEndDocument()voidwriteEndElement()voidwriteEntityRef(String name)booleanwriteLowLevelAttribute(String prefix, String namespaceURI, String localName)Write an attribute.voidwriteLowLevelAttributeIndexed(int index)voidwriteLowLevelAttributeValue(String value)voidwriteLowLevelEndElement()voidwriteLowLevelEndNamespaces()voidwriteLowLevelEndStartElement()voidwriteLowLevelNamespace(String prefix, String namespaceName)voidwriteLowLevelOctets(byte[] octets, int length)voidwriteLowLevelStartAttributes()booleanwriteLowLevelStartElement(int type, String prefix, String localName, String namespaceURI)Write the start of an element.voidwriteLowLevelStartElementIndexed(int type, int index)voidwriteLowLevelStartNameLiteral(int type, String prefix, byte[] utf8LocalName, String namespaceURI)voidwriteLowLevelStartNameLiteral(int type, String prefix, int localNameIndex, String namespaceURI)voidwriteLowLevelStartNamespaces()voidwriteLowLevelTerminationAndMark()voidwriteLowLevelText(char[] text, int length)voidwriteLowLevelText(String text)voidwriteNamespace(String prefix, String namespaceURI)voidwriteOctets(byte[] b, int start, int len)voidwriteProcessingInstruction(String target)voidwriteProcessingInstruction(String target, String data)voidwriteStartDocument()voidwriteStartDocument(String version)voidwriteStartDocument(String encoding, String version)voidwriteStartElement(String localName)voidwriteStartElement(String namespaceURI, String localName)voidwriteStartElement(String prefix, String localName, String namespaceURI)-
Methods inherited from class com.sun.xml.fastinfoset.Encoder
canAddAttributeToTable, canAddCharacterContentToTable, encodeAIIBuiltInAlgorithmData, encodeAIIObjectAlgorithmData, encodeAIIOctetAlgorithmData, encodeAlphabetCharacters, encodeAttributeQualifiedNameOnSecondBit, encodeCharacters, encodeCharactersNoClone, encodeCIIBuiltInAlgorithmData, encodeCIIBuiltInAlgorithmDataAsCDATA, encodeCIIObjectAlgorithmData, encodeCIIOctetAlgorithmData, encodeComment, encodeCommentNoClone, encodeDateTimeFourBitCharacters, encodeDateTimeNonIdentifyingStringOnFirstBit, encodeDocumentTermination, encodeDocumentTypeDeclaration, encodeElementQualifiedNameOnThirdBit, encodeElementTermination, encodeFourBitCharacters, encodeHeader, encodeIdentifyingNonEmptyStringOnFirstBit, encodeInitialVocabulary, encodeLiteralAttributeQualifiedNameOnSecondBit, encodeLiteralElementQualifiedNameOnThirdBit, encodeNamespaceAttribute, encodeNonEmptyCharacterStringOnFifthBit, encodeNonEmptyCharacterStringOnFifthBit, encodeNonEmptyCharacterStringOnSeventhBit, encodeNonEmptyFourBitCharacterString, encodeNonEmptyFourBitCharacterStringOnSeventhBit, encodeNonEmptyNBitCharacterStringOnSeventhBit, encodeNonEmptyOctetStringOnSecondBit, encodeNonEmptyUTF8StringAsOctetString, encodeNonEmptyUTF8StringAsOctetString, encodeNonIdentifyingStringOnFirstBit, encodeNonIdentifyingStringOnFirstBit, encodeNonIdentifyingStringOnFirstBit, encodeNonIdentifyingStringOnFirstBit, encodeNonIdentifyingStringOnFirstBit, encodeNonIdentifyingStringOnThirdBit, encodeNonIdentifyingStringOnThirdBit, encodeNonIdentifyingStringOnThirdBit, encodeNonZeroInteger, encodeNonZeroIntegerOnFourthBit, encodeNonZeroIntegerOnSecondBitFirstBitOne, encodeNonZeroIntegerOnSecondBitFirstBitZero, encodeNonZeroIntegerOnThirdBit, encodeNonZeroOctetStringLength, encodeNonZeroOctetStringLengthOnFifthBit, encodeNonZeroOctetStringLengthOnSecondBit, encodeNonZeroOctetStringLengthOnSenventhBit, encodeNumericFourBitCharacters, encodeNumericNonIdentifyingStringOnFirstBit, encodeProcessingInstruction, encodeTermination, encodeUtf16String, encodeUtf16String, encodeUTF8String, encodeUTF8String, getAttributeValueMapMemoryLimit, getCharacterContentChunkMapMemoryLimit, getCharacterEncodingScheme, getIgnoreComments, getIgnoreDTD, getIgnoreProcesingInstructions, getIgnoreWhiteSpaceTextContent, getMaxAttributeValueSize, getMaxCharacterContentChunkSize, getMinAttributeValueSize, getMinCharacterContentChunkSize, getPrefixFromQualifiedName, getRegisteredEncodingAlgorithms, getVocabularyApplicationData, hasMark, isAttributeValueLengthMatchesLimit, isCharacterContentChunkLengthMatchesLimit, isWhiteSpace, isWhiteSpace, mark, resetMark, setAttributeValueMapMemoryLimit, setCharacterContentChunkMapMemoryLimit, setCharacterEncodingScheme, setExternalVocabulary, setIgnoreComments, setIgnoreDTD, setIgnoreProcesingInstructions, setIgnoreWhiteSpaceTextContent, setMaxAttributeValueSize, setMaxCharacterContentChunkSize, setMinAttributeValueSize, setMinCharacterContentChunkSize, setOutputStream, setRegisteredEncodingAlgorithms, setVocabulary, setVocabularyApplicationData, write, write, write
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
_manager
protected StAXManager _manager
-
_encoding
protected String _encoding
-
_currentLocalName
protected String _currentLocalName
Local name of current element.
-
_currentUri
protected String _currentUri
Namespace of current element.
-
_currentPrefix
protected String _currentPrefix
Prefix of current element.
-
_inStartElement
protected boolean _inStartElement
This flag indicates when there is a pending start element event.
-
_isEmptyElement
protected boolean _isEmptyElement
This flag indicates if the current element is empty.
-
_attributesArray
protected String[] _attributesArray
List of attributes qnames and values defined in the current element.
-
_attributesArrayIndex
protected int _attributesArrayIndex
-
_nsSupportContextStack
protected boolean[] _nsSupportContextStack
-
_stackCount
protected int _stackCount
-
_nsContext
protected NamespaceContextImplementation _nsContext
Mapping between uris and prefixes.
-
_namespacesArray
protected String[] _namespacesArray
List of namespaces defined in the current element.
-
_namespacesArrayIndex
protected int _namespacesArrayIndex
-
-
Constructor Detail
-
StAXDocumentSerializer
public StAXDocumentSerializer()
-
StAXDocumentSerializer
public StAXDocumentSerializer(OutputStream outputStream)
-
StAXDocumentSerializer
public StAXDocumentSerializer(OutputStream outputStream, StAXManager manager)
-
-
Method Detail
-
reset
public void reset()
Description copied from class:EncoderReset the encoder for reuse encoding another XML infoset.- Specified by:
resetin interfaceFastInfosetSerializer- Overrides:
resetin classEncoder
-
writeStartDocument
public void writeStartDocument() throws XMLStreamException- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
public void writeStartDocument(String version) throws XMLStreamException
- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartDocument
public void writeStartDocument(String encoding, String version) throws XMLStreamException
- Specified by:
writeStartDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEndDocument
public void writeEndDocument() throws XMLStreamException- Specified by:
writeEndDocumentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
close
public void close() throws XMLStreamException- Specified by:
closein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
flush
public void flush() throws XMLStreamException- Specified by:
flushin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String localName) throws XMLStreamException
- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException
- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeStartElement
public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
- Specified by:
writeStartElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String localName) throws XMLStreamException
- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException
- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEmptyElement
public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException
- Specified by:
writeEmptyElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEndElement
public void writeEndElement() throws XMLStreamException- Specified by:
writeEndElementin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String localName, String value) throws XMLStreamException
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException
- Specified by:
writeAttributein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeNamespace
public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException
- Specified by:
writeNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDefaultNamespace
public void writeDefaultNamespace(String namespaceURI) throws XMLStreamException
- Specified by:
writeDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeComment
public void writeComment(String data) throws XMLStreamException
- Specified by:
writeCommentin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
public void writeProcessingInstruction(String target) throws XMLStreamException
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeProcessingInstruction
public void writeProcessingInstruction(String target, String data) throws XMLStreamException
- Specified by:
writeProcessingInstructionin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCData
public void writeCData(String text) throws XMLStreamException
- Specified by:
writeCDatain interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeDTD
public void writeDTD(String dtd) throws XMLStreamException
- Specified by:
writeDTDin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeEntityRef
public void writeEntityRef(String name) throws XMLStreamException
- Specified by:
writeEntityRefin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCharacters
public void writeCharacters(String text) throws XMLStreamException
- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
writeCharacters
public void writeCharacters(char[] text, int start, int len) throws XMLStreamException- Specified by:
writeCharactersin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
getPrefix
public String getPrefix(String uri) throws XMLStreamException
- Specified by:
getPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setPrefix
public void setPrefix(String prefix, String uri) throws XMLStreamException
- Specified by:
setPrefixin interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setDefaultNamespace
public void setDefaultNamespace(String uri) throws XMLStreamException
- Specified by:
setDefaultNamespacein interfaceXMLStreamWriter- Throws:
XMLStreamException
-
setNamespaceContext
public void setNamespaceContext(NamespaceContext context) throws XMLStreamException
Sets the current namespace context for prefix and uri bindings. This context becomes the root namespace context for writing and will replace the current root namespace context. Subsequent calls to setPrefix and setDefaultNamespace will bind namespaces using the context passed to the method as the root context for resolving namespaces. This method may only be called once at the start of the document. It does not cause the namespaces to be declared. If a namespace URI to prefix mapping is found in the namespace context it is treated as declared and the prefix may be used by the StreamWriter.- Specified by:
setNamespaceContextin interfaceXMLStreamWriter- Parameters:
context- the namespace context to use for this writer, may not be null- Throws:
XMLStreamException
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContextin interfaceXMLStreamWriter
-
getProperty
public Object getProperty(String name) throws IllegalArgumentException
- Specified by:
getPropertyin interfaceXMLStreamWriter- Throws:
IllegalArgumentException
-
setManager
public void setManager(StAXManager manager)
-
setEncoding
public void setEncoding(String encoding)
-
writeOctets
public void writeOctets(byte[] b, int start, int len) throws XMLStreamException- Throws:
XMLStreamException
-
encodeTerminationAndCurrentElement
protected void encodeTerminationAndCurrentElement(boolean terminateAfter) throws XMLStreamException- Throws:
XMLStreamException
-
initiateLowLevelWriting
public final void initiateLowLevelWriting() throws XMLStreamExceptionDescription copied from interface:LowLevelFastInfosetStreamWriterInitiate low level writing of an element fragment.This method must be invoked before other low level method.
- Specified by:
initiateLowLevelWritingin interfaceLowLevelFastInfosetStreamWriter- Throws:
XMLStreamException
-
getNextElementIndex
public final int getNextElementIndex()
Description copied from interface:LowLevelFastInfosetStreamWriterGet the next index to apply to an Element Information Item.This will increment the next obtained index such that:
i = w.getNextElementIndex(); j = w.getNextElementIndex(); i == j + 1;
- Specified by:
getNextElementIndexin interfaceLowLevelFastInfosetStreamWriter- Returns:
- the index.
-
getNextAttributeIndex
public final int getNextAttributeIndex()
Description copied from interface:LowLevelFastInfosetStreamWriterGet the next index to apply to an Attribute Information Item. This will increment the next obtained index such that:i = w.getNextAttributeIndex(); j = w.getNextAttributeIndex(); i == j + 1;
- Specified by:
getNextAttributeIndexin interfaceLowLevelFastInfosetStreamWriter- Returns:
- the index.
-
getLocalNameIndex
public final int getLocalNameIndex()
Description copied from interface:LowLevelFastInfosetStreamWriterGet the current index that was applied to an [local name] of an Element or Attribute Information Item.- Specified by:
getLocalNameIndexin interfaceLowLevelFastInfosetStreamWriter- Returns:
- the index.
-
getNextLocalNameIndex
public final int getNextLocalNameIndex()
Description copied from interface:LowLevelFastInfosetStreamWriterGet the next index to apply to an [local name] of an Element or Attribute Information Item. This will increment the next obtained index such that:i = w.getNextLocalNameIndex(); j = w.getNextLocalNameIndex(); i == j + 1;
- Specified by:
getNextLocalNameIndexin interfaceLowLevelFastInfosetStreamWriter- Returns:
- the index.
-
writeLowLevelTerminationAndMark
public final void writeLowLevelTerminationAndMark() throws IOException- Specified by:
writeLowLevelTerminationAndMarkin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelStartElementIndexed
public final void writeLowLevelStartElementIndexed(int type, int index) throws IOException- Specified by:
writeLowLevelStartElementIndexedin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelStartElement
public final boolean writeLowLevelStartElement(int type, String prefix, String localName, String namespaceURI) throws IOExceptionDescription copied from interface:LowLevelFastInfosetStreamWriterWrite the start of an element.- Specified by:
writeLowLevelStartElementin interfaceLowLevelFastInfosetStreamWriter- Returns:
- true if element is indexed, otherwise false.
- Throws:
IOException
-
writeLowLevelStartNamespaces
public final void writeLowLevelStartNamespaces() throws IOException- Specified by:
writeLowLevelStartNamespacesin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelNamespace
public final void writeLowLevelNamespace(String prefix, String namespaceName) throws IOException
- Specified by:
writeLowLevelNamespacein interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelEndNamespaces
public final void writeLowLevelEndNamespaces() throws IOException- Specified by:
writeLowLevelEndNamespacesin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelStartAttributes
public final void writeLowLevelStartAttributes() throws IOException- Specified by:
writeLowLevelStartAttributesin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelAttributeIndexed
public final void writeLowLevelAttributeIndexed(int index) throws IOException- Specified by:
writeLowLevelAttributeIndexedin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelAttribute
public final boolean writeLowLevelAttribute(String prefix, String namespaceURI, String localName) throws IOException
Description copied from interface:LowLevelFastInfosetStreamWriterWrite an attribute.- Specified by:
writeLowLevelAttributein interfaceLowLevelFastInfosetStreamWriter- Returns:
- true if attribute is indexed, otherwise false.
- Throws:
IOException
-
writeLowLevelAttributeValue
public final void writeLowLevelAttributeValue(String value) throws IOException
- Specified by:
writeLowLevelAttributeValuein interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelStartNameLiteral
public final void writeLowLevelStartNameLiteral(int type, String prefix, byte[] utf8LocalName, String namespaceURI) throws IOException- Specified by:
writeLowLevelStartNameLiteralin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelStartNameLiteral
public final void writeLowLevelStartNameLiteral(int type, String prefix, int localNameIndex, String namespaceURI) throws IOException- Specified by:
writeLowLevelStartNameLiteralin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelEndStartElement
public final void writeLowLevelEndStartElement() throws IOException- Specified by:
writeLowLevelEndStartElementin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelEndElement
public final void writeLowLevelEndElement() throws IOException- Specified by:
writeLowLevelEndElementin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelText
public final void writeLowLevelText(char[] text, int length) throws IOException- Specified by:
writeLowLevelTextin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelText
public final void writeLowLevelText(String text) throws IOException
- Specified by:
writeLowLevelTextin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
writeLowLevelOctets
public final void writeLowLevelOctets(byte[] octets, int length) throws IOException- Specified by:
writeLowLevelOctetsin interfaceLowLevelFastInfosetStreamWriter- Throws:
IOException
-
-