public abstract class XMLInputReader
extends java.io.Reader
Constructor and Description |
---|
XMLInputReader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXMLDeclaredEncoding()
Gets the declared encoding from the XML declaration,
or null if no value was found.
|
java.lang.String |
getXMLVersion()
Gets the version string from the XML declaration, or null.
|
boolean |
isXMLStandalone()
Returns the Standalone value from the XML declaration.
|
boolean |
isXMLStandaloneDeclared()
Returns true if an XML "standalone" declaration was found.
|
protected int |
parseXMLDeclaration(char[] cbuf,
int offset,
int length)
Call this to parse the XML declaration.
|
protected void |
resetInput() |
protected void resetInput()
protected int parseXMLDeclaration(char[] cbuf, int offset, int length) throws java.io.IOException
java.io.IOException
public java.lang.String getXMLVersion()
public boolean isXMLStandalone()
public boolean isXMLStandaloneDeclared()
public java.lang.String getXMLDeclaredEncoding()