public class XmlReadableByteArray extends java.lang.Object implements XmlReadable
Modifier and Type | Field and Description |
---|---|
protected URI |
baseURI |
protected byte[] |
buf |
Modifier | Constructor and Description |
---|---|
protected |
XmlReadableByteArray() |
|
XmlReadableByteArray(byte[] source)
Constructor
|
Modifier and Type | Method and Description |
---|---|
URI |
getBaseURI()
Get the base URI attached to this XmlReadable
|
void |
readXml(XmlReader rdr)
Read this XmlReadable through an XmlReader parser.
|
void |
setCaseInsensitive(boolean caseInsensitive) |
protected byte[] buf
protected URI baseURI
public XmlReadableByteArray(byte[] source)
source
- The byte array to be parsedprotected XmlReadableByteArray()
public void readXml(XmlReader rdr) throws SyntaxException, IOException
XmlReadable
readXml
in interface XmlReadable
rdr
- the XmlReader that will report the SAX eventsSyntaxException
IOException
public URI getBaseURI()
XmlReadable
getBaseURI
in interface XmlReadable
public void setCaseInsensitive(boolean caseInsensitive)
setCaseInsensitive
in interface XmlReadable