javax.xml.stream.Location, javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReaderpublic class MXParser
extends java.lang.Object
implements javax.xml.stream.XMLStreamReader, javax.xml.stream.Location
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
allStringsInterned |
Implementation notice:
the is instance variable that controls if newString() is interning.
|
protected int |
attributeCount |
|
protected java.lang.String[] |
attributeName |
|
protected int[] |
attributeNameHash |
|
protected java.lang.String[] |
attributePrefix |
|
protected java.lang.String[] |
attributeUri |
|
protected java.lang.String[] |
attributeValue |
|
protected char[] |
buf |
Logics for this should be clarified...
|
protected int |
bufAbsoluteStart |
|
protected int |
bufEnd |
|
protected int |
bufLoadFactor |
|
protected int |
bufSoftLimit |
|
protected int |
bufStart |
|
protected static char |
CHAR_UTF8_BOM |
|
protected java.lang.String |
charEncodingScheme |
|
protected char[] |
charRefOneCharBuf |
This buffer is used for expanding single character (non-surrogate)
character entity expansions.
|
protected char[] |
charRefTwoCharBuf |
This buffer is used in cases where an entity expands to a surrogate
pair.
|
protected int |
columnNumber |
|
protected java.util.HashMap |
defaultAttributes |
|
protected int |
depth |
|
protected java.lang.String[] |
elName |
|
protected int[] |
elNamespaceCount |
|
protected java.lang.String[] |
elPrefix |
|
protected char[][] |
elRawName |
|
protected int[] |
elRawNameEnd |
|
protected java.lang.String[] |
elUri |
|
protected boolean |
emptyElementTag |
|
protected static char[] |
ENCODING |
|
protected int |
entityEnd |
|
protected java.lang.String[] |
entityName |
|
protected char[][] |
entityNameBuf |
|
protected int[] |
entityNameHash |
|
protected java.lang.String |
entityRefName |
|
protected java.lang.String[] |
entityReplacement |
|
protected char[][] |
entityReplacementBuf |
|
protected char[] |
entityValue |
Replacement value for the current entity, when automatic entity
expansion is disabled.
|
protected int |
eventType |
|
protected static java.lang.String |
FEATURE_NAMES_INTERNED |
|
static java.lang.String |
FEATURE_PROCESS_DOCDECL |
|
static java.lang.String |
FEATURE_PROCESS_NAMESPACES |
|
static java.lang.String |
FEATURE_STAX_ENTITIES |
|
static java.lang.String |
FEATURE_STAX_NOTATIONS |
|
protected static java.lang.String |
FEATURE_XML_ROUNDTRIP |
|
protected java.lang.String |
inputEncoding |
|
protected int |
lineNumber |
|
protected int |
localNamespaceEnd |
|
protected java.lang.String[] |
localNamespacePrefix |
|
protected int[] |
localNamespacePrefixHash |
|
protected java.lang.String[] |
localNamespaceUri |
|
protected static int |
LOOKUP_MAX |
|
protected static char |
LOOKUP_MAX_CHAR |
|
protected static boolean[] |
lookupNameChar |
|
protected static boolean[] |
lookupNameStartChar |
|
protected static int |
MAX_UNICODE_CHAR |
|
protected com.wutka.dtd.DTD |
mDtdIntSubset |
If the internal DTD subset was parsed, this object will be non-null,
and can be used for accessing entities, elements and notations
declared in the internal subset.
|
protected int |
namespaceEnd |
|
protected java.lang.String[] |
namespacePrefix |
|
protected int[] |
namespacePrefixHash |
|
protected java.lang.String[] |
namespaceUri |
|
protected static char[] |
NO |
|
static java.lang.String |
NO_NAMESPACE |
This constant defines URI used for "no namespace" (when the default
namespace not defined, for elements; when attribute has no prefix,
or for all URIs if namespace support is disabled).
|
protected boolean |
pastEndTag |
|
protected char[] |
pc |
|
protected int |
pcEnd |
|
protected int |
pcStart |
|
protected java.lang.String |
piData |
|
protected java.lang.String |
piTarget |
|
protected int |
pos |
|
protected int |
posEnd |
|
protected int |
posStart |
|
protected boolean |
processNamespaces |
|
protected boolean |
reachedEnd |
|
protected static int |
READ_CHUNK_SIZE |
|
protected java.io.Reader |
reader |
|
protected boolean |
roundtripSupported |
|
protected boolean |
seenAmpersand |
|
protected boolean |
seenDocdecl |
|
protected boolean |
seenEndTag |
|
protected boolean |
seenMarkup |
|
protected boolean |
seenRoot |
|
protected boolean |
seenStartTag |
|
protected boolean |
standalone |
Flag that indicates whether 'standalone="yes"' was found from
the xml declaration.
|
protected static char[] |
STANDALONE |
|
protected boolean |
standaloneSet |
|
protected java.lang.String |
text |
Lazily-constructed String that contains what getText() returns;
cleared by tokenizer before parsing new events
|
protected boolean |
tokenize |
|
static java.lang.String[] |
TYPES |
These constants are used for diagnostics messages, and need to
match with ones from
XMLStreamConstants. |
protected boolean |
usePC |
|
protected static char[] |
VERSION |
|
protected java.lang.String |
xmlVersion |
XML version found from the xml declaration, if any.
|
protected static char[] |
YES |
| Constructor | Description |
|---|---|
MXParser() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addDefaultAttributes(java.lang.String elementName) |
|
protected void |
checkCharValidity(int ch,
boolean surrogatesOk) |
|
boolean |
checkForXMLDecl() |
|
void |
close() |
|
void |
defineEntityReplacementText(java.lang.String entityName,
java.lang.String replacementText) |
|
protected void |
ensureAttributesCapacity(int size) |
Make sure that in attributes temporary array is enough space.
|
protected void |
ensureElementsCapacity() |
Make sure that we have enough space to keep element stack if passed size.
|
protected void |
ensureEntityCapacity() |
|
protected void |
ensureLocalNamespacesCapacity(int size) |
|
protected void |
ensureNamespacesCapacity(int size) |
|
protected void |
ensurePC(int end) |
|
protected static int |
fastHash(char[] ch,
int off,
int len) |
simplistic implementation of hash function that has constant
time to compute - so it also means diminishing hash quality for long strings
but for XML parsing it should be good enough ...
|
protected void |
fillBuf() |
|
int |
getAttributeCount() |
|
java.lang.String |
getAttributeLocalName(int index) |
|
javax.xml.namespace.QName |
getAttributeName(int index) |
|
java.lang.String |
getAttributeNamespace(int index) |
|
java.lang.String |
getAttributePrefix(int index) |
|
java.util.Iterator |
getAttributes() |
|
java.lang.String |
getAttributeType(int index) |
|
java.lang.String |
getAttributeValue(int index) |
|
java.lang.String |
getAttributeValue(java.lang.String namespace,
java.lang.String name) |
|
java.lang.String |
getCharacterEncodingScheme() |
|
int |
getCharacterOffset() |
|
int |
getColumnNumber() |
|
ConfigurationContextBase |
getConfigurationContext() |
|
int |
getDepth() |
|
java.lang.String |
getElementText() |
|
java.lang.String |
getEncoding() |
|
int |
getEventType() |
|
boolean |
getFeature(java.lang.String name) |
Unknown properties are
|
java.lang.String |
getInputEncoding() |
|
int |
getLineNumber() |
|
java.lang.String |
getLocalName() |
|
int |
getLocalNamespaceCount() |
|
javax.xml.stream.Location |
getLocation() |
|
java.lang.String |
getLocationURI() |
|
javax.xml.namespace.QName |
getName() |
|
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
|
int |
getNamespaceCount() |
|
int |
getNamespaceCount(int depth) |
|
java.lang.String |
getNamespacePrefix(int pos) |
|
java.util.Iterator |
getNamespaces() |
|
java.lang.String |
getNamespaceURI() |
|
java.lang.String |
getNamespaceURI(int pos) |
|
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
|
java.util.Iterator |
getOutOfScopeNamespaces() |
|
java.lang.String |
getPIData() |
|
java.lang.String |
getPITarget() |
|
java.lang.String |
getPositionDescription() |
Return string describing current position of parsers as
text 'STATE [seen %s...] @line:column'.
|
java.lang.String |
getPrefix() |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
java.lang.String |
getPublicId() |
|
java.lang.String |
getSystemId() |
|
java.lang.String |
getText() |
|
char[] |
getTextCharacters() |
|
int |
getTextCharacters(int sourceStart,
char[] target,
int targetStart,
int length) |
|
int |
getTextLength() |
|
int |
getTextStart() |
|
java.io.Reader |
getTextStream() |
|
java.lang.String |
getValue() |
|
java.lang.String |
getVersion() |
|
boolean |
hasAttributes() |
|
boolean |
hasName() |
|
boolean |
hasNamespaces() |
|
boolean |
hasNext() |
|
boolean |
hasText() |
|
java.util.Iterator |
internalGetNamespaces(int depth,
int namespaceCount) |
|
boolean |
isAttributeSpecified(int index) |
|
boolean |
isCharacters() |
|
boolean |
isEmptyElementTag() |
|
boolean |
isEndElement() |
|
boolean |
isEOF() |
|
protected boolean |
isNameChar(char ch) |
|
protected boolean |
isNameStartChar(char ch) |
|
protected boolean |
isS(char ch) |
|
boolean |
isStandalone() |
|
boolean |
isStartElement() |
|
boolean |
isWhiteSpace() |
|
protected void |
joinPC() |
|
protected char[] |
lookupEntityReplacement(int entitNameLen) |
|
protected char |
more() |
|
boolean |
moveToEndElement() |
|
boolean |
moveToEndElement(java.lang.String localName) |
|
boolean |
moveToEndElement(java.lang.String localName,
java.lang.String namespaceUri) |
|
boolean |
moveToStartElement() |
|
boolean |
moveToStartElement(java.lang.String localName) |
|
boolean |
moveToStartElement(java.lang.String localName,
java.lang.String namespaceUri) |
|
protected java.lang.String |
newString(char[] cbuf,
int off,
int len) |
|
protected java.lang.String |
newStringIntern(char[] cbuf,
int off,
int len) |
|
int |
next() |
|
int |
nextElement() |
|
protected int |
nextImpl() |
|
int |
nextTag() |
|
java.lang.String |
nextText() |
|
int |
nextToken() |
|
protected char |
parseAttribute() |
|
protected void |
parseCDATA() |
|
protected void |
parseComment() |
|
protected void |
parseDocdecl() |
|
int |
parseEndTag() |
|
protected char[] |
parseEntityRef(boolean replace) |
|
protected int |
parseEpilog() |
|
protected boolean |
parsePI() |
|
protected int |
parseProlog() |
|
int |
parseStartTag() |
|
protected void |
parseXmlDecl(char ch) |
|
protected void |
parseXmlDeclWithVersion(int versionStart,
int versionEnd) |
|
protected java.lang.String |
printable(char ch) |
|
protected java.lang.String |
printable(java.lang.String s) |
|
protected void |
processDTD() |
|
void |
recycle() |
|
void |
require(int type,
java.lang.String namespace,
java.lang.String name) |
|
protected char |
requireInput(char ch,
char[] input) |
|
protected char |
requireNextS() |
|
protected void |
resetStringCache() |
|
void |
setConfigurationContext(ConfigurationContextBase c) |
|
void |
setFeature(java.lang.String name,
boolean state) |
Method setFeature
|
void |
setInput(java.io.InputStream in) |
|
void |
setInput(java.io.InputStream inputStream,
java.lang.String inputEncoding) |
|
void |
setInput(java.io.Reader in) |
|
void |
setProperty(java.lang.String name,
java.lang.Object value) |
|
void |
skip() |
|
protected char |
skipS(char ch) |
|
boolean |
standaloneSet() |
|
javax.xml.stream.XMLStreamReader |
subReader() |
protected static final char CHAR_UTF8_BOM
protected static final int MAX_UNICODE_CHAR
protected static final java.lang.String FEATURE_XML_ROUNDTRIP
protected static final java.lang.String FEATURE_NAMES_INTERNED
public static final java.lang.String FEATURE_PROCESS_DOCDECL
public static final java.lang.String FEATURE_STAX_NOTATIONS
public static final java.lang.String FEATURE_STAX_ENTITIES
public static final java.lang.String[] TYPES
XMLStreamConstants.public static final java.lang.String NO_NAMESPACE
protected boolean allStringsInterned
NOTE: newStringIntern always returns interned strings and newString MAY return interned String depending on this variable.
NOTE: by default in this minimal implementation it is false!
public static final java.lang.String FEATURE_PROCESS_NAMESPACES
protected boolean processNamespaces
protected boolean roundtripSupported
protected int lineNumber
protected int columnNumber
protected boolean seenRoot
protected boolean reachedEnd
protected int eventType
protected boolean emptyElementTag
protected int depth
protected char[][] elRawName
protected int[] elRawNameEnd
protected java.lang.String[] elName
protected java.lang.String[] elPrefix
protected java.lang.String[] elUri
protected int[] elNamespaceCount
protected java.lang.String xmlVersion
protected boolean standalone
protected boolean standaloneSet
protected java.lang.String charEncodingScheme
protected java.lang.String piTarget
protected java.lang.String piData
protected com.wutka.dtd.DTD mDtdIntSubset
protected java.util.HashMap defaultAttributes
protected static final int LOOKUP_MAX
protected static final char LOOKUP_MAX_CHAR
protected static boolean[] lookupNameStartChar
protected static boolean[] lookupNameChar
protected int attributeCount
protected java.lang.String[] attributeName
protected int[] attributeNameHash
protected java.lang.String[] attributePrefix
protected java.lang.String[] attributeUri
protected java.lang.String[] attributeValue
protected int namespaceEnd
protected java.lang.String[] namespacePrefix
protected int[] namespacePrefixHash
protected java.lang.String[] namespaceUri
protected int localNamespaceEnd
protected java.lang.String[] localNamespacePrefix
protected int[] localNamespacePrefixHash
protected java.lang.String[] localNamespaceUri
protected int entityEnd
protected java.lang.String[] entityName
protected char[][] entityNameBuf
protected int[] entityNameHash
protected char[][] entityReplacementBuf
protected java.lang.String[] entityReplacement
protected static final int READ_CHUNK_SIZE
protected java.io.Reader reader
protected java.lang.String inputEncoding
protected int bufLoadFactor
protected char[] buf
protected int bufSoftLimit
protected int bufAbsoluteStart
protected int bufStart
protected int bufEnd
protected int pos
protected int posStart
protected int posEnd
protected char[] pc
protected int pcStart
protected int pcEnd
protected boolean usePC
protected boolean seenStartTag
protected boolean seenEndTag
protected boolean pastEndTag
protected boolean seenAmpersand
protected boolean seenMarkup
protected boolean seenDocdecl
protected boolean tokenize
protected java.lang.String text
protected java.lang.String entityRefName
protected char[] entityValue
protected char[] charRefOneCharBuf
protected char[] charRefTwoCharBuf
protected static final char[] VERSION
protected static final char[] ENCODING
protected static final char[] STANDALONE
protected static final char[] YES
protected static final char[] NO
protected void resetStringCache()
protected java.lang.String newString(char[] cbuf,
int off,
int len)
protected java.lang.String newStringIntern(char[] cbuf,
int off,
int len)
protected void ensureElementsCapacity()
protected boolean isNameStartChar(char ch)
protected boolean isNameChar(char ch)
protected boolean isS(char ch)
protected void checkCharValidity(int ch,
boolean surrogatesOk)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void ensureAttributesCapacity(int size)
protected void ensureNamespacesCapacity(int size)
protected void ensureLocalNamespacesCapacity(int size)
public int getLocalNamespaceCount()
protected static final int fastHash(char[] ch,
int off,
int len)
protected void ensureEntityCapacity()
public void setFeature(java.lang.String name,
boolean state)
throws javax.xml.stream.XMLStreamException
name - a Stringstate - a booleanjavax.xml.stream.XMLStreamExceptionpublic boolean getFeature(java.lang.String name)
public void setProperty(java.lang.String name,
java.lang.Object value)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean checkForXMLDecl()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void setInput(java.io.Reader in)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void setInput(java.io.InputStream in)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void setInput(java.io.InputStream inputStream,
java.lang.String inputEncoding)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.lang.String getInputEncoding()
public void defineEntityReplacementText(java.lang.String entityName,
java.lang.String replacementText)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int getNamespaceCount()
getNamespaceCount in interface javax.xml.stream.XMLStreamReaderpublic int getNamespaceCount(int depth)
public java.lang.String getNamespacePrefix(int pos)
getNamespacePrefix in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getNamespaceURI(int pos)
getNamespaceURI in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI in interface javax.xml.stream.XMLStreamReaderpublic int getDepth()
public java.lang.String getPositionDescription()
public int getLineNumber()
getLineNumber in interface javax.xml.stream.Locationpublic int getColumnNumber()
getColumnNumber in interface javax.xml.stream.Locationpublic java.lang.String getLocationURI()
public boolean isWhiteSpace()
isWhiteSpace in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getNamespaceURI()
getNamespaceURI in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getLocalName()
getLocalName in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getPrefix()
getPrefix in interface javax.xml.stream.XMLStreamReaderpublic boolean isEmptyElementTag()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int getAttributeCount()
getAttributeCount in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributeNamespace(int index)
getAttributeNamespace in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributeLocalName(int index)
getAttributeLocalName in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributePrefix(int index)
getAttributePrefix in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributeType(int index)
getAttributeType in interface javax.xml.stream.XMLStreamReaderpublic boolean isAttributeSpecified(int index)
isAttributeSpecified in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributeValue(int index)
getAttributeValue in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getAttributeValue(java.lang.String namespace,
java.lang.String name)
getAttributeValue in interface javax.xml.stream.XMLStreamReaderpublic int getEventType()
getEventType in interface javax.xml.stream.XMLStreamReaderpublic void require(int type,
java.lang.String namespace,
java.lang.String name)
throws javax.xml.stream.XMLStreamException
require in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic java.lang.String nextText()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int nextTag()
throws javax.xml.stream.XMLStreamException
nextTag in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic java.lang.String getElementText()
throws javax.xml.stream.XMLStreamException
getElementText in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic int next()
throws javax.xml.stream.XMLStreamException
next in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic int nextToken()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int nextElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean hasNext()
throws javax.xml.stream.XMLStreamException
hasNext in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic void skip()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void close()
throws javax.xml.stream.XMLStreamException
close in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic boolean isStartElement()
isStartElement in interface javax.xml.stream.XMLStreamReaderpublic boolean isEndElement()
isEndElement in interface javax.xml.stream.XMLStreamReaderpublic boolean isCharacters()
isCharacters in interface javax.xml.stream.XMLStreamReaderpublic boolean isEOF()
public boolean moveToStartElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean moveToStartElement(java.lang.String localName)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean moveToStartElement(java.lang.String localName,
java.lang.String namespaceUri)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean moveToEndElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean moveToEndElement(java.lang.String localName)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean moveToEndElement(java.lang.String localName,
java.lang.String namespaceUri)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic boolean hasAttributes()
public boolean hasNamespaces()
public java.util.Iterator getAttributes()
public java.util.Iterator internalGetNamespaces(int depth,
int namespaceCount)
public java.util.Iterator getNamespaces()
public java.util.Iterator getOutOfScopeNamespaces()
public javax.xml.stream.XMLStreamReader subReader()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void recycle()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.io.Reader getTextStream()
public java.lang.String getText()
getText in interface javax.xml.stream.XMLStreamReaderpublic int getTextCharacters(int sourceStart,
char[] target,
int targetStart,
int length)
throws javax.xml.stream.XMLStreamException
getTextCharacters in interface javax.xml.stream.XMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic char[] getTextCharacters()
getTextCharacters in interface javax.xml.stream.XMLStreamReaderpublic int getTextStart()
getTextStart in interface javax.xml.stream.XMLStreamReaderpublic int getTextLength()
getTextLength in interface javax.xml.stream.XMLStreamReaderpublic boolean hasText()
hasText in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getValue()
public java.lang.String getEncoding()
getEncoding in interface javax.xml.stream.XMLStreamReaderpublic int getCharacterOffset()
getCharacterOffset in interface javax.xml.stream.Locationpublic javax.xml.namespace.QName getAttributeName(int index)
getAttributeName in interface javax.xml.stream.XMLStreamReaderpublic javax.xml.namespace.QName getName()
getName in interface javax.xml.stream.XMLStreamReaderpublic boolean hasName()
hasName in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getVersion()
getVersion in interface javax.xml.stream.XMLStreamReaderpublic boolean isStandalone()
isStandalone in interface javax.xml.stream.XMLStreamReaderpublic boolean standaloneSet()
standaloneSet in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getCharacterEncodingScheme()
getCharacterEncodingScheme in interface javax.xml.stream.XMLStreamReaderprotected int nextImpl()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected int parseProlog()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected int parseEpilog()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int parseEndTag()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic int parseStartTag()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void addDefaultAttributes(java.lang.String elementName)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char parseAttribute()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char[] parseEntityRef(boolean replace)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char[] lookupEntityReplacement(int entitNameLen)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void parseComment()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.lang.String getPITarget()
getPITarget in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getPIData()
getPIData in interface javax.xml.stream.XMLStreamReaderpublic javax.xml.namespace.NamespaceContext getNamespaceContext()
getNamespaceContext in interface javax.xml.stream.XMLStreamReaderprotected boolean parsePI()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char requireInput(char ch,
char[] input)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char requireNextS()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected char skipS(char ch)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void parseXmlDecl(char ch)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void parseXmlDeclWithVersion(int versionStart,
int versionEnd)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void parseDocdecl()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void processDTD()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void parseCDATA()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void fillBuf()
throws javax.xml.stream.XMLStreamException,
java.io.EOFException
javax.xml.stream.XMLStreamExceptionjava.io.EOFExceptionprotected char more()
throws javax.xml.stream.XMLStreamException,
java.io.EOFException
javax.xml.stream.XMLStreamExceptionjava.io.EOFExceptionprotected java.lang.String printable(char ch)
protected java.lang.String printable(java.lang.String s)
protected void ensurePC(int end)
protected void joinPC()
public javax.xml.stream.Location getLocation()
getLocation in interface javax.xml.stream.XMLStreamReaderpublic java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.Locationpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.Locationpublic void setConfigurationContext(ConfigurationContextBase c)
public ConfigurationContextBase getConfigurationContext()
public java.lang.Object getProperty(java.lang.String name)
getProperty in interface javax.xml.stream.XMLStreamReader