| java.lang.Object java.io.Reader com.bluecast.xml.XMLInputReader
All known Subclasses: com.bluecast.xml.XMLStreamReader, com.bluecast.xml.XMLReaderReader,
XMLInputReader | abstract public class XMLInputReader extends Reader (Code) | | A Reader for XML documents
the proper character set to use based on Byte Order Marks and XML
declarations.
author: Yuval Oren, yuval@bluecast.com version: $Revision: 1.3 $ |
getXMLDeclaredEncoding | public String getXMLDeclaredEncoding()(Code) | | Gets the declared encoding from the XML declaration,
or null if no value was found.
|
getXMLVersion | public String getXMLVersion()(Code) | | Gets the version string from the XML declaration, or null.
|
isXMLStandalone | public boolean isXMLStandalone()(Code) | | Returns the Standalone value from the XML declaration.
Defaults to false if no value was declared.
|
isXMLStandaloneDeclared | public boolean isXMLStandaloneDeclared()(Code) | | Returns true if an XML "standalone" declaration was found.
|
parseXMLDeclaration | protected int parseXMLDeclaration(char[] cbuf, int offset, int length) throws IOException(Code) | | Call this to parse the XML declaration. Returns the number
of characters used by the declaration, or zero if no declaration
was found.
|
resetInput | protected void resetInput()(Code) | | |
|
|