|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.Reader
|
+--com.bluecast.xml.XMLInputReader
A Reader for XML documents the proper character set to use based on Byte Order Marks and XML declarations.
| Field Summary |
| Fields inherited from class java.io.Reader |
lock |
| Constructor Summary | |
XMLInputReader()
|
|
| Method Summary | |
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()
|
| Methods inherited from class java.io.Reader |
close, mark, markSupported, read, read, read, ready, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLInputReader()
| Method Detail |
protected void resetInput()
protected int parseXMLDeclaration(char[] cbuf,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getXMLVersion()
public boolean isXMLStandalone()
public boolean isXMLStandaloneDeclared()
public java.lang.String getXMLDeclaredEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||