com.sun.xml.fastinfoset.stax
Class StAXDocumentParser

java.lang.Object
  extended by com.sun.xml.fastinfoset.Decoder
      extended by com.sun.xml.fastinfoset.stax.StAXDocumentParser
All Implemented Interfaces:
OctetBufferListener, XMLStreamConstants, XMLStreamReader, FastInfosetParser, FastInfosetStreamReader
Direct Known Subclasses:
FastInfosetStreamReaderRecyclable, WSTCPFastInfosetStreamReaderRecyclable

public class StAXDocumentParser
extends Decoder
implements XMLStreamReader, FastInfosetStreamReader, OctetBufferListener

The Fast Infoset StAX parser.

Instantiate this parser to parse a fast infoset document in accordance with the StAX API.

More than one fast infoset document may be decoded from the InputStream.


Nested Class Summary
protected  class StAXDocumentParser.NamespaceContextImpl
           
 
Nested classes/interfaces inherited from class com.sun.xml.fastinfoset.Decoder
Decoder.EncodingAlgorithmInputStream
 
Field Summary
protected  byte[] _algorithmData
           
protected  int _algorithmDataLength
           
protected  int _algorithmDataOffset
           
protected  int _algorithmId
           
protected  String _algorithmURI
           
protected  AttributesHolder _attributes
          List of attributes
protected  String _characterEncodingScheme
           
protected  char[] _characters
          Characters associated with event.
protected  int _charactersOffset
           
protected  boolean _clearAttributes
           
protected  int _currentNamespaceAIIsEnd
           
protected  int _currentNamespaceAIIsStart
          Namespaces associated with START_ELEMENT or END_ELEMENT
protected  int _eventType
          Current event
protected  int _internalState
           
protected  boolean _isAlgorithmDataCloned
           
protected  StAXManager _manager
           
protected  int[] _namespaceAIIsEndStack
           
protected  int _namespaceAIIsIndex
           
protected  String[] _namespaceAIIsNamespaceName
           
protected  String[] _namespaceAIIsPrefix
           
protected  int[] _namespaceAIIsPrefixIndex
           
protected  int[] _namespaceAIIsStartStack
           
protected  StAXDocumentParser.NamespaceContextImpl _nsContext
           
protected  String _piData
           
protected  String _piTarget
          State for processing instruction
protected  QualifiedName[] _qNameStack
          Stack of qualified names and namespaces
protected  QualifiedName _qualifiedName
          Qualified name associated with START_ELEMENT or END_ELEMENT.
protected  int _stackCount
           
protected static int INTERNAL_STATE_DOUBLE_TERMINATE_ELEMENT
           
protected static int INTERNAL_STATE_END_DOCUMENT
           
protected static int INTERNAL_STATE_SINGLE_TERMINATE_ELEMENT_WITH_NAMESPACES
           
protected static int INTERNAL_STATE_START_DOCUMENT
           
protected static int INTERNAL_STATE_START_ELEMENT_TERMINATE
           
protected static int INTERNAL_STATE_VOID
           
 
Fields inherited from class com.sun.xml.fastinfoset.Decoder
_addToTable, _attributeNameTable, _attributeValueTable, _b, _bufferSize, _characterContentChunkTable, _charBuffer, _charBufferLength, _doubleTerminate, _duplicateAttributeVerifier, _elementNameTable, _identifier, _integer, _namespaceNameIndex, _needForceStreamClose, _notations, _octetBuffer, _octetBufferEnd, _octetBufferLength, _octetBufferOffset, _octetBufferStart, _parseFragments, _prefixIndex, _prefixTable, _registeredEncodingAlgorithms, _terminate, _unparsedEntities, _v, BUFFER_SIZE_SYSTEM_PROPERTY, NISTRING_EMPTY_STRING, NISTRING_ENCODING_ALGORITHM, NISTRING_INDEX, NISTRING_STRING, STRING_INTERNING_SYSTEM_PROPERTY
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Fields inherited from interface org.jvnet.fastinfoset.FastInfosetParser
BUFFER_SIZE_PROPERTY, EXTERNAL_VOCABULARIES_PROPERTY, FORCE_STREAM_CLOSE_PROPERTY, REGISTERED_ENCODING_ALGORITHMS_PROPERTY, STRING_INTERNING_PROPERTY
 
Constructor Summary
StAXDocumentParser()
           
StAXDocumentParser(InputStream s)
           
StAXDocumentParser(InputStream s, StAXManager manager)
           
 
Method Summary
 String accessLocalName()
           
 int accessNamespaceCount()
           
 String accessNamespaceURI()
           
 String accessPrefix()
           
 char[] accessTextCharacters()
          Returns a cloned char[] representation of the internal char[] buffer.
 int accessTextLength()
           
 int accessTextStart()
           
protected  void checkTextState()
           
 void close()
           
protected  void convertBase64AlorithmDataToCharacters(StringBuffer buffer)
           
protected  void convertEncodingAlgorithmDataToCharacters()
           
 int getAttributeCount()
           
 String getAttributeLocalName(int index)
           
 QName getAttributeName(int index)
           
 String getAttributeNamespace(int index)
           
 String getAttributeNameString(int index)
           
 String getAttributePrefix(int index)
           
 AttributesHolder getAttributesHolder()
           
 String getAttributeType(int index)
           
 String getAttributeValue(int index)
           
 String getAttributeValue(String namespaceURI, String localName)
           
 String getCharacterEncodingScheme()
           
 String getElementText()
          Reads the content of a text-only element.
 String getElementText(boolean startElementRead)
           
 String getEncoding()
           
 int getEventType()
           
 String getLocalName()
           
 Location getLocation()
           
 QName getName()
           
 NamespaceContext getNamespaceContext()
           
 int getNamespaceCount()
           
 String getNamespaceDecl(String prefix)
           
 String getNamespacePrefix(int index)
           
 String getNamespaceURI()
           
 String getNamespaceURI(int index)
           
 String getNamespaceURI(String prefix)
           
 String getNameString()
           
 String getPIData()
           
 String getPITarget()
           
 String getPrefix()
           
 Iterator getPrefixes()
           
 Object getProperty(String name)
           
 String getText()
           
 byte[] getTextAlgorithmBytes()
          Deprecated. was deprecated due to security reasons. Now the method return cloned byte[].
 int getTextAlgorithmBytes(int sourceStart, byte[] target, int targetStart, int length)
           
 byte[] getTextAlgorithmBytesClone()
           
 int getTextAlgorithmIndex()
           
 int getTextAlgorithmLength()
           
 int getTextAlgorithmStart()
           
 String getTextAlgorithmURI()
           
 char[] getTextCharacters()
           
 int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
           
 int getTextLength()
           
 int getTextStart()
           
 String getURI(String prefix)
           
 String getVersion()
           
 boolean hasName()
           
 boolean hasNext()
           
 boolean hasText()
           
 boolean hasTextAlgorithmBytes()
           
 boolean isAttributeSpecified(int index)
           
 boolean isBase64Follows()
           
 boolean isCharacters()
           
 boolean isEndElement()
           
 boolean isStandalone()
           
 boolean isStartElement()
           
 boolean isWhiteSpace()
          Returns true if the cursor points to a character data event that consists of all whitespace Application calling this method needs to cache the value and avoid calling this method again for the same event.
 int next()
           
 int nextTag()
          Skips any white space (isWhiteSpace() returns true), COMMENT, or PROCESSING_INSTRUCTION, until a START_ELEMENT or END_ELEMENT is reached.
 int nextTag(boolean currentTagRead)
          if the current tag has already read, such as in the case EventReader's peek() has been called, the current cursor should not move before the loop
 void onBeforeOctetBufferOverwrite()
          Callback method that will be called before the (@link Decoder) octet buffer content is going to be changed.
 int peekNext()
          Peek at the next event.
protected  void processAIIEncodingAlgorithm(QualifiedName name, boolean addToTable)
           
protected  void processAIIs()
           
protected  void processCIIEncodingAlgorithm(boolean addToTable)
           
protected  void processCommentII()
           
protected  void processDII()
           
protected  void processDIIOptionalProperties(int b)
           
protected  void processEII(QualifiedName name, boolean hasAttributes)
           
protected  QualifiedName processEIIIndexLarge(int b)
           
protected  QualifiedName processEIIIndexMedium(int b)
           
protected  void processEIIWithNamespaces(boolean hasAttributes)
           
protected  QualifiedName processLiteralQualifiedName(int state, QualifiedName q)
           
protected  void processProcessingII()
           
protected  void processUnexpandedEntityReference(int b)
           
 void require(int type, String namespaceURI, String localName)
          Test if the current event is of the given type and if the namespace and name match the current namespace and name of the current event.
 void reset()
          Reset the decoder for reuse decoding another XML infoset.
protected  void resetOnError()
           
protected  void resizeNamespaceAIIs()
           
 void setInputStream(InputStream s)
          Set the InputStream to decode the fast infoset document.
 void setManager(StAXManager manager)
           
 boolean standaloneSet()
           
 
Methods inherited from class com.sun.xml.fastinfoset.Decoder
_isFastInfosetDocument, closeIfRequired, createQualifiedNameString, createQualifiedNameString, decodeAdditionalData, decodeAlphabetOctetsAsCharBuffer, decodeCharacterEncodingScheme, decodeDII, decodeEIIIndexLarge, decodeEIIIndexMedium, decodeFourBitAlphabetOctetsAsCharBuffer, decodeHeader, decodeIdentifyingNonEmptyStringIndexOnFirstBitAsNamespaceName, decodeIdentifyingNonEmptyStringIndexOnFirstBitAsPrefix, decodeIdentifyingNonEmptyStringOnFirstBit, decodeIdentifyingNonEmptyStringOnFirstBitAsNamespaceName, decodeIdentifyingNonEmptyStringOnFirstBitAsPrefix, decodeInitialVocabulary, decodeIntegerIndexOnSecondBit, decodeLiteralQualifiedName, decodeNonEmptyOctetStringLengthOnSecondBit, decodeNonEmptyOctetStringOnSecondBitAsUtf8CharArray, decodeNonEmptyOctetStringOnSecondBitAsUtf8String, decodeNonIdentifyingStringOnFirstBit, decodeNotations, decodeOctetsOnFifthBitOfNonIdentifyingStringOnFirstBit, decodeOctetsOnSeventhBitOfNonIdentifyingStringOnThirdBit, decodeRAOctetsAsString, decodeRestrictedAlphabetAsCharBuffer, decodeRestrictedAlphabetAsString, decodeUnparsedEntities, decodeUtf16StringAsCharBuffer, decodeUtf16StringAsString, decodeUtf8NCNameIntoCharBuffer, decodeUtf8StringAsCharBuffer, decodeUtf8StringAsCharBuffer, decodeUtf8StringAsString, decodeUtf8StringIntoCharBuffer, decodeUtf8StringIntoCharBuffer, decodeVersion, getBufferSize, getExternalVocabularies, getForceStreamClose, getParseFragments, getRegisteredEncodingAlgorithms, getStringInterning, isFastInfosetDocument, peek, peek, peek2, read, setBufferSize, setExternalVocabularies, setForceStreamClose, setParseFragments, setRegisteredEncodingAlgorithms, setStringInterning, setVocabulary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_STATE_START_DOCUMENT

protected static final int INTERNAL_STATE_START_DOCUMENT
See Also:
Constant Field Values

INTERNAL_STATE_START_ELEMENT_TERMINATE

protected static final int INTERNAL_STATE_START_ELEMENT_TERMINATE
See Also:
Constant Field Values

INTERNAL_STATE_SINGLE_TERMINATE_ELEMENT_WITH_NAMESPACES

protected static final int INTERNAL_STATE_SINGLE_TERMINATE_ELEMENT_WITH_NAMESPACES
See Also:
Constant Field Values

INTERNAL_STATE_DOUBLE_TERMINATE_ELEMENT

protected static final int INTERNAL_STATE_DOUBLE_TERMINATE_ELEMENT
See Also:
Constant Field Values

INTERNAL_STATE_END_DOCUMENT

protected static final int INTERNAL_STATE_END_DOCUMENT
See Also:
Constant Field Values

INTERNAL_STATE_VOID

protected static final int INTERNAL_STATE_VOID
See Also:
Constant Field Values

_internalState

protected int _internalState

_eventType

protected int _eventType
Current event


_qNameStack

protected QualifiedName[] _qNameStack
Stack of qualified names and namespaces


_namespaceAIIsStartStack

protected int[] _namespaceAIIsStartStack

_namespaceAIIsEndStack

protected int[] _namespaceAIIsEndStack

_stackCount

protected int _stackCount

_namespaceAIIsPrefix

protected String[] _namespaceAIIsPrefix

_namespaceAIIsNamespaceName

protected String[] _namespaceAIIsNamespaceName

_namespaceAIIsPrefixIndex

protected int[] _namespaceAIIsPrefixIndex

_namespaceAIIsIndex

protected int _namespaceAIIsIndex

_currentNamespaceAIIsStart

protected int _currentNamespaceAIIsStart
Namespaces associated with START_ELEMENT or END_ELEMENT


_currentNamespaceAIIsEnd

protected int _currentNamespaceAIIsEnd

_qualifiedName

protected QualifiedName _qualifiedName
Qualified name associated with START_ELEMENT or END_ELEMENT.


_attributes

protected AttributesHolder _attributes
List of attributes


_clearAttributes

protected boolean _clearAttributes

_characters

protected char[] _characters
Characters associated with event.


_charactersOffset

protected int _charactersOffset

_algorithmURI

protected String _algorithmURI

_algorithmId

protected int _algorithmId

_isAlgorithmDataCloned

protected boolean _isAlgorithmDataCloned

_algorithmData

protected byte[] _algorithmData

_algorithmDataOffset

protected int _algorithmDataOffset

_algorithmDataLength

protected int _algorithmDataLength

_piTarget

protected String _piTarget
State for processing instruction


_piData

protected String _piData

_nsContext

protected StAXDocumentParser.NamespaceContextImpl _nsContext

_characterEncodingScheme

protected String _characterEncodingScheme

_manager

protected StAXManager _manager
Constructor Detail

StAXDocumentParser

public StAXDocumentParser()

StAXDocumentParser

public StAXDocumentParser(InputStream s)

StAXDocumentParser

public StAXDocumentParser(InputStream s,
                          StAXManager manager)
Method Detail

setInputStream

public void setInputStream(InputStream s)
Description copied from class: Decoder
Set the InputStream to decode the fast infoset document.

Overrides:
setInputStream in class Decoder
Parameters:
s - the InputStream where the fast infoset document is decoded from.

reset

public void reset()
Description copied from class: Decoder
Reset the decoder for reuse decoding another XML infoset.

Overrides:
reset in class Decoder

resetOnError

protected void resetOnError()

getProperty

public Object getProperty(String name)
                   throws IllegalArgumentException
Specified by:
getProperty in interface XMLStreamReader
Throws:
IllegalArgumentException

next

public int next()
         throws XMLStreamException
Specified by:
next in interface XMLStreamReader
Throws:
XMLStreamException

require

public final void require(int type,
                          String namespaceURI,
                          String localName)
                   throws XMLStreamException
Test if the current event is of the given type and if the namespace and name match the current namespace and name of the current event. If the namespaceURI is null it is not checked for equality, if the localName is null it is not checked for equality.

Specified by:
require in interface XMLStreamReader
Parameters:
type - the event type
namespaceURI - the uri of the event, may be null
localName - the localName of the event, may be null
Throws:
XMLStreamException - if the required values are not matched.

getElementText

public final String getElementText()
                            throws XMLStreamException
Reads the content of a text-only element. Precondition: the current event is START_ELEMENT. Postcondition: The current event is the corresponding END_ELEMENT.

Specified by:
getElementText in interface XMLStreamReader
Throws:
XMLStreamException - if the current event is not a START_ELEMENT or if a non text element is encountered

getElementText

public final String getElementText(boolean startElementRead)
                            throws XMLStreamException
Parameters:
startElementRead - flag if start element has already been read
Throws:
XMLStreamException

nextTag

public final int nextTag()
                  throws XMLStreamException
Skips any white space (isWhiteSpace() returns true), COMMENT, or PROCESSING_INSTRUCTION, until a START_ELEMENT or END_ELEMENT is reached. If other than white space characters, COMMENT, PROCESSING_INSTRUCTION, START_ELEMENT, END_ELEMENT are encountered, an exception is thrown. This method should be used when processing element-only content seperated by white space. This method should be used when processing element-only content because the parser is not able to recognize ignorable whitespace if then DTD is missing or not interpreted.

Specified by:
nextTag in interface XMLStreamReader
Returns:
the event type of the element read
Throws:
XMLStreamException - if the current event is not white space

nextTag

public final int nextTag(boolean currentTagRead)
                  throws XMLStreamException
if the current tag has already read, such as in the case EventReader's peek() has been called, the current cursor should not move before the loop

Throws:
XMLStreamException

hasNext

public final boolean hasNext()
                      throws XMLStreamException
Specified by:
hasNext in interface XMLStreamReader
Throws:
XMLStreamException

close

public void close()
           throws XMLStreamException
Specified by:
close in interface XMLStreamReader
Throws:
XMLStreamException

getNamespaceURI

public final String getNamespaceURI(String prefix)
Specified by:
getNamespaceURI in interface XMLStreamReader

isStartElement

public final boolean isStartElement()
Specified by:
isStartElement in interface XMLStreamReader

isEndElement

public final boolean isEndElement()
Specified by:
isEndElement in interface XMLStreamReader

isCharacters

public final boolean isCharacters()
Specified by:
isCharacters in interface XMLStreamReader

isWhiteSpace

public final boolean isWhiteSpace()
Returns true if the cursor points to a character data event that consists of all whitespace Application calling this method needs to cache the value and avoid calling this method again for the same event.

Specified by:
isWhiteSpace in interface XMLStreamReader
Returns:
true if the cursor points to all whitespace, false otherwise

getAttributeValue

public final String getAttributeValue(String namespaceURI,
                                      String localName)
Specified by:
getAttributeValue in interface XMLStreamReader

getAttributeCount

public final int getAttributeCount()
Specified by:
getAttributeCount in interface XMLStreamReader

getAttributeName

public final QName getAttributeName(int index)
Specified by:
getAttributeName in interface XMLStreamReader

getAttributeNamespace

public final String getAttributeNamespace(int index)
Specified by:
getAttributeNamespace in interface XMLStreamReader

getAttributeLocalName

public final String getAttributeLocalName(int index)
Specified by:
getAttributeLocalName in interface XMLStreamReader

getAttributePrefix

public final String getAttributePrefix(int index)
Specified by:
getAttributePrefix in interface XMLStreamReader

getAttributeType

public final String getAttributeType(int index)
Specified by:
getAttributeType in interface XMLStreamReader

getAttributeValue

public final String getAttributeValue(int index)
Specified by:
getAttributeValue in interface XMLStreamReader

isAttributeSpecified

public final boolean isAttributeSpecified(int index)
Specified by:
isAttributeSpecified in interface XMLStreamReader

getNamespaceCount

public final int getNamespaceCount()
Specified by:
getNamespaceCount in interface XMLStreamReader

getNamespacePrefix

public final String getNamespacePrefix(int index)
Specified by:
getNamespacePrefix in interface XMLStreamReader

getNamespaceURI

public final String getNamespaceURI(int index)
Specified by:
getNamespaceURI in interface XMLStreamReader

getNamespaceContext

public final NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface XMLStreamReader

getEventType

public final int getEventType()
Specified by:
getEventType in interface XMLStreamReader

getText

public final String getText()
Specified by:
getText in interface XMLStreamReader

getTextCharacters

public final char[] getTextCharacters()
Specified by:
getTextCharacters in interface XMLStreamReader

getTextStart

public final int getTextStart()
Specified by:
getTextStart in interface XMLStreamReader

getTextLength

public final int getTextLength()
Specified by:
getTextLength in interface XMLStreamReader

getTextCharacters

public final int getTextCharacters(int sourceStart,
                                   char[] target,
                                   int targetStart,
                                   int length)
                            throws XMLStreamException
Specified by:
getTextCharacters in interface XMLStreamReader
Throws:
XMLStreamException

checkTextState

protected final void checkTextState()

getEncoding

public final String getEncoding()
Specified by:
getEncoding in interface XMLStreamReader

hasText

public final boolean hasText()
Specified by:
hasText in interface XMLStreamReader

getLocation

public final Location getLocation()
Specified by:
getLocation in interface XMLStreamReader

getName

public final QName getName()
Specified by:
getName in interface XMLStreamReader

getLocalName

public final String getLocalName()
Specified by:
getLocalName in interface XMLStreamReader

hasName

public final boolean hasName()
Specified by:
hasName in interface XMLStreamReader

getNamespaceURI

public final String getNamespaceURI()
Specified by:
getNamespaceURI in interface XMLStreamReader

getPrefix

public final String getPrefix()
Specified by:
getPrefix in interface XMLStreamReader

getVersion

public final String getVersion()
Specified by:
getVersion in interface XMLStreamReader

isStandalone

public final boolean isStandalone()
Specified by:
isStandalone in interface XMLStreamReader

standaloneSet

public final boolean standaloneSet()
Specified by:
standaloneSet in interface XMLStreamReader

getCharacterEncodingScheme

public final String getCharacterEncodingScheme()
Specified by:
getCharacterEncodingScheme in interface XMLStreamReader

getPITarget

public final String getPITarget()
Specified by:
getPITarget in interface XMLStreamReader

getPIData

public final String getPIData()
Specified by:
getPIData in interface XMLStreamReader

getNameString

public final String getNameString()

getAttributeNameString

public final String getAttributeNameString(int index)

getTextAlgorithmURI

public final String getTextAlgorithmURI()

getTextAlgorithmIndex

public final int getTextAlgorithmIndex()

hasTextAlgorithmBytes

public final boolean hasTextAlgorithmBytes()

getTextAlgorithmBytes

public final byte[] getTextAlgorithmBytes()
Deprecated. was deprecated due to security reasons. Now the method return cloned byte[].

Returns the byte[], which represents text algorithms.

Returns:

getTextAlgorithmBytesClone

public final byte[] getTextAlgorithmBytesClone()

getTextAlgorithmStart

public final int getTextAlgorithmStart()

getTextAlgorithmLength

public final int getTextAlgorithmLength()

getTextAlgorithmBytes

public final int getTextAlgorithmBytes(int sourceStart,
                                       byte[] target,
                                       int targetStart,
                                       int length)
                                throws XMLStreamException
Throws:
XMLStreamException

peekNext

public final int peekNext()
                   throws XMLStreamException
Description copied from interface: FastInfosetStreamReader
Peek at the next event.

Specified by:
peekNext in interface FastInfosetStreamReader
Returns:
the event, which will be the same as that returned from #next.
Throws:
XMLStreamException

onBeforeOctetBufferOverwrite

public void onBeforeOctetBufferOverwrite()
Description copied from interface: OctetBufferListener
Callback method that will be called before the (@link Decoder) octet buffer content is going to be changed. So it will be possible to preserve a read data by cloning, or perform other actions.

Specified by:
onBeforeOctetBufferOverwrite in interface OctetBufferListener

accessNamespaceCount

public final int accessNamespaceCount()
Specified by:
accessNamespaceCount in interface FastInfosetStreamReader

accessLocalName

public final String accessLocalName()
Specified by:
accessLocalName in interface FastInfosetStreamReader

accessNamespaceURI

public final String accessNamespaceURI()
Specified by:
accessNamespaceURI in interface FastInfosetStreamReader

accessPrefix

public final String accessPrefix()
Specified by:
accessPrefix in interface FastInfosetStreamReader

accessTextCharacters

public final char[] accessTextCharacters()
Description copied from interface: FastInfosetStreamReader
Returns a cloned char[] representation of the internal char[] buffer. So be careful, when using this method due to possible performance and memory inefficiency.

Specified by:
accessTextCharacters in interface FastInfosetStreamReader
Returns:
a cloned char[] representation of the internal char[] buffer.

accessTextStart

public final int accessTextStart()
Specified by:
accessTextStart in interface FastInfosetStreamReader

accessTextLength

public final int accessTextLength()
Specified by:
accessTextLength in interface FastInfosetStreamReader

processDII

protected final void processDII()
                         throws FastInfosetException,
                                IOException
Throws:
FastInfosetException
IOException

processDIIOptionalProperties

protected final void processDIIOptionalProperties(int b)
                                           throws FastInfosetException,
                                                  IOException
Throws:
FastInfosetException
IOException

resizeNamespaceAIIs

protected final void resizeNamespaceAIIs()

processEIIWithNamespaces

protected final void processEIIWithNamespaces(boolean hasAttributes)
                                       throws FastInfosetException,
                                              IOException
Throws:
FastInfosetException
IOException

processEII

protected final void processEII(QualifiedName name,
                                boolean hasAttributes)
                         throws FastInfosetException,
                                IOException
Throws:
FastInfosetException
IOException

processAIIs

protected final void processAIIs()
                          throws FastInfosetException,
                                 IOException
Throws:
FastInfosetException
IOException

processEIIIndexMedium

protected final QualifiedName processEIIIndexMedium(int b)
                                             throws FastInfosetException,
                                                    IOException
Throws:
FastInfosetException
IOException

processEIIIndexLarge

protected final QualifiedName processEIIIndexLarge(int b)
                                            throws FastInfosetException,
                                                   IOException
Throws:
FastInfosetException
IOException

processLiteralQualifiedName

protected final QualifiedName processLiteralQualifiedName(int state,
                                                          QualifiedName q)
                                                   throws FastInfosetException,
                                                          IOException
Throws:
FastInfosetException
IOException

processCommentII

protected final void processCommentII()
                               throws FastInfosetException,
                                      IOException
Throws:
FastInfosetException
IOException

processProcessingII

protected final void processProcessingII()
                                  throws FastInfosetException,
                                         IOException
Throws:
FastInfosetException
IOException

processUnexpandedEntityReference

protected final void processUnexpandedEntityReference(int b)
                                               throws FastInfosetException,
                                                      IOException
Throws:
FastInfosetException
IOException

processCIIEncodingAlgorithm

protected final void processCIIEncodingAlgorithm(boolean addToTable)
                                          throws FastInfosetException,
                                                 IOException
Throws:
FastInfosetException
IOException

processAIIEncodingAlgorithm

protected final void processAIIEncodingAlgorithm(QualifiedName name,
                                                 boolean addToTable)
                                          throws FastInfosetException,
                                                 IOException
Throws:
FastInfosetException
IOException

convertEncodingAlgorithmDataToCharacters

protected final void convertEncodingAlgorithmDataToCharacters()
                                                       throws FastInfosetException,
                                                              IOException
Throws:
FastInfosetException
IOException

convertBase64AlorithmDataToCharacters

protected void convertBase64AlorithmDataToCharacters(StringBuffer buffer)
                                              throws EncodingAlgorithmException,
                                                     IOException
Throws:
EncodingAlgorithmException
IOException

isBase64Follows

public boolean isBase64Follows()
                        throws IOException
Throws:
IOException

getNamespaceDecl

public final String getNamespaceDecl(String prefix)

getURI

public final String getURI(String prefix)

getPrefixes

public final Iterator getPrefixes()

getAttributesHolder

public final AttributesHolder getAttributesHolder()

setManager

public final void setManager(StAXManager manager)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.