XML reader interface used for input of unmarshalled document. This interface
allows easy substitution of different parsers or other input sources.
author: Dennis M. Sosnoski version: 1.0
Get an attribute name from the current start tag.
Parameters: index - attribute index local name if namespace handling enabled, full name if namespacehandling disabled throws: IllegalStateException - if not at a start tag or invalid index
Get an attribute namespace from the current start tag.
Parameters: index - attribute index namespace URI if namespace handling enabled and attribute is in anamespace, empty string otherwise throws: IllegalStateException - if not at a start tag or invalid index
Get an attribute prefix from the current start tag.
Parameters: index - attribute index prefix for attribute (null if no prefix present) throws: IllegalStateException - if not at a start tag or invalid index
Get an attribute value from the current start tag.
Parameters: index - attribute index value text throws: IllegalStateException - if not at a start tag or invalid index
Get an attribute value from the current start tag.
Parameters: ns - namespace URI for expected attribute (may be nullor the empty string for the empty namespace) Parameters: name - attribute name expected attribute value text, or null if missing throws: IllegalStateException - if not at a start tag
Get element name from the current start or end tag.
local name if namespace handling enabled, full name if namespacehandling disabled throws: IllegalStateException - if not at a start or end tag (optional)
Get element namespace from the current start or end tag.
namespace URI if namespace handling enabled and element is in anamespace, empty string otherwise throws: IllegalStateException - if not at a start or end tag (optional)
Get number of namespace declarations active at depth.
Parameters: depth - element nesting depth number of namespaces active at depth throws: IllegalArgumentException - if invalid depth
Get namespace prefix.
Parameters: index - declaration index namespace prefix, null if a default namespace throws: IllegalArgumentException - if invalid index
Get current element nesting depth. The returned depth always includes the
current start or end tag (if positioned on a start or end tag).
element nesting depth
Get current text. When positioned on a TEXT event this returns the actual
text; for CDSECT it returns the text inside the CDATA section; for
COMMENT, DOCDECL, or PROCESSING_INSTRUCTION it returns the text inside
the structure.
text for current event
Advance to next binding component of input document. This is a
higher-level operation than
IXMLReader.nextToken() , which consolidates text
content and ignores parse events for components such as comments and PIs.
parse event type code throws: JiBXException - if error reading or parsing document