|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.xml.XMLDeclaration
public class XMLDeclaration
XML Declaration
| Constructor Summary | |
|---|---|
XMLDeclaration()
Constructor |
|
XMLDeclaration(String version,
String encoding,
String standalone)
Constructor |
|
XMLDeclaration(XMLDeclaration that)
Constructor |
|
| Method Summary | |
|---|---|
String |
getEncoding()
|
String |
getStandalone()
|
String |
getVersion()
|
static XMLDeclaration |
readXMLDeclaration(InputStream in)
Consume the XML Declaration and return it or reset the stream otherwise. |
static XMLDeclaration |
readXMLDeclaration(Reader in)
Consume the XML Declaration and return it or reset the stream otherwise. |
void |
setQuotedEncoding(String encoding)
|
void |
setQuotedStandalone(String standalone)
|
void |
setQuotedVersion(String version)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XMLDeclaration()
public XMLDeclaration(String version,
String encoding,
String standalone)
public XMLDeclaration(XMLDeclaration that)
| Method Detail |
|---|
public String getEncoding()
public void setQuotedEncoding(String encoding)
encoding - The encoding to set.public String getStandalone()
public void setQuotedStandalone(String standalone)
standalone - The standalone to set.public void setQuotedVersion(String version)
encoding - The version to set.public String getVersion()
public static XMLDeclaration readXMLDeclaration(InputStream in)
throws IOException
in - the streamregexpFactory -
null if none has been
specified.
IOException
public static XMLDeclaration readXMLDeclaration(Reader in)
throws IOException
in - the streamregexpFactory - TODO
null if none has been
specified.
IOExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||