| Modifier and Type | Field and Description |
|---|---|
| protected XMLStreamReader2 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | closeCompletely()
Implements org. javax.,
except that this method also does close the underlying input
source if it has not yet been closed.
|
| public void | getAttributeAs(int index, TypedValueDecoder tvd)
Implements org. |
| public int | getAttributeAsArray(int index, TypedArrayDecoder tad)
Implements org. |
| public byte[] | getAttributeAsBinary(int
The attribute's index as returned by index)getAttributeIndex(String, String).Implements org. |
| public byte[] | getAttributeAsBinary(int index, Base64Variant v)
Implements org. |
| public boolean | getAttributeAsBoolean(int
The attribute's index as returned by index)getAttributeIndex(String, String)Implements org. Read an attribute value as a boolean. |
| public BigDecimal | getAttributeAsDecimal(int index)
Implements org. |
| public double | getAttributeAsDouble(int index)
Implements org. |
| public double[] | |
| public float | getAttributeAsFloat(int index)
Implements org. |
| public float[] | |
| public int | getAttributeAsInt(int
The attribute's index as returned by index)getAttributeIndex(String, String)Implements org. Read an attribute value as a boolean. |
| public int[] | getAttributeAsIntArray(int
The attribute's index as returned by index)getAttributeIndex(String, String).Implements org. Read an attribute content as an int array. |
| public BigInteger | getAttributeAsInteger(int index)
Implements org. |
| public long | getAttributeAsLong(int
The attribute's index as returned by index)getAttributeIndex(String, String)Implements org. Read an attribute value as a boolean. |
| public long[] | getAttributeAsLongArray(int index)
Implements org. |
| public QName | getAttributeAsQName(int index)
Implements org. |
| public int | getAttributeIndex(String
The attribute's namespace URI. Values of
null and "" are considered the same, i.e. "no namespace"
(or "empty" namespace) namespaceURI, String The attribute's local name. localName)Implements org. localName and URI is namespaceURI
or -1 if no such attribute exists.
|
| public AttributeInfo | getAttributeInfo()
Implements org. |
| public int | getDepth()
Implements org. |
| public DTDInfo | getDTDInfo()
Implements org. |
| public void | getElementAs(TypedValueDecoder tvd)
Implements org. |
| public byte[] | getElementAsBinary()
Implements org. readElementAsBinary, in cases where neither performance nor
memory usage is a big concern.
|
| public byte[] | getElementAsBinary(Base64Variant
Base64 variant content is in; needed to decode
alternative variants ("modified base64") v)Implements org. readElementAsBinary, in cases where neither performance nor
memory usage is a big concern.
|
| public boolean | getElementAsBoolean()
Implements org. Read an element content as a boolean. |
| public BigDecimal | |
| public double | getElementAsDouble()
Implements org. Read an element content as a 64-bit floating point value. |
| public float | getElementAsFloat()
Implements org. Read an element content as a 32-bit floating point value. |
| public int | getElementAsInt()
Implements org. Read an element content as a 32-bit integer. |
| public BigInteger | |
| public long | getElementAsLong()
Implements org. Read an element content as a 64-bit integer. |
| public QName | |
| public Object | getFeature(String
Name of the feature of which value to get name)Implements org. |
| public LocationInfo | |
| public NamespaceContext | getNonTransientNamespaceContext()
Implements org. javax.,
but one that is
not transient.
|
| public String | getPrefixedName()
Implements org. |
| public int | getText(Writer
Writer to use for writing textual contents w, boolean If true, reader has to preserve contents
so that further calls to preserveContents)getText will return
proper conntets. If false, reader is allowed to skip creation
of such copies: this can improve performance, but it also means
that further calls to getText is not guaranteed to
return meaningful data.Implements org. getText(), except
that it just uses provided Writer to write all textual content,
and that it works for wider range of event types.
|
| public boolean | isEmptyElement()
Implements org. |
| public boolean | isPropertySupported(String name)
Implements org. javax., used
to determine whether a property is supported by the Reader
instance.
|
| public int | readElementAsArray(TypedArrayDecoder tad)
Implements org. |
| public int | readElementAsBinary(byte[] resultBuffer, int offset, int maxLength)
Implements org. |
| public int | readElementAsBinary(byte[]
Array in which to copy decoded bytes. resultBuffer, int Starting offset of the first decoded byte
within result buffer offset, int Maximum number of bytes to decode with this call maxLength, Base64Variant v)Implements org. |
| public int | readElementAsDoubleArray(double[] value, int from, int length)
Implements org. |
| public int | readElementAsFloatArray(float[] value, int from, int length)
Implements org. |
| public int | readElementAsIntArray(int[]
The array in which to copy the ints. value, int The index in the array from which copying starts. from, int The maximun number of ints to copy. Minimum value
is 1; others an length)IllegalArgumentException is thrownImplements org. |
| public int | readElementAsLongArray(long[] value, int from, int length)
Implements org. |
| public void | setFeature(String
Name of the feature to set name, Object Value to set feature to. value)Implements org. |
| public void | setParent(XMLStreamReader
the new parent pr)Overrides javax. |
| public boolean | setProperty(String
Name of the property to set name, Object Value to set property to. value)Implements org. org.
instance.
|
| public ValidationProblemHandler | setValidationProblemHandler(ValidationProblemHandler
Handler to install, if non null; if null, indicates that
the default (implementation-specific) handling should be used h)Implements org. |
| public void | skipElement()
Implements org. |
| public XMLValidator | stopValidatingAgainst(XMLValidationSchema schema)
Implements org. validateAgainst
was called earlier.
|
| public XMLValidator | stopValidatingAgainst(XMLValidator validator)
Implements org. |
| public XMLValidator | validateAgainst(XMLValidationSchema schema)
Implements org. XMLValidator instance from the
given schema (unless a validator for that schema has already been
added),
initialize it if necessary, and make validatable object (reader,
writer)
call appropriate validation methods from this point on until the
end of the document (that is, it's not scoped with sub-trees), or until
validator is removed by an explicit call to
stopValidatingAgainst.
|