|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.xml.XML
public final class XML
This is a final class that contains constants used by the XML package.
| Field Summary | |
|---|---|
static int |
ELEMENT_CONTENT
An int value of 2 representing element contents. |
static int |
EMPTY_ELEMENT_TAG
An int value of 0 representing an empty element tag. |
static int |
END_TAG
An int value of 3 representing a end element tag. |
static int |
START_TAG
An int value of 1 representing a start element tag. |
static java.lang.String |
XML_10_HEADER
The standard <?xml version="1.0"?> file header for XML 1.0 standard documents. |
| Method Summary | |
|---|---|
static java.lang.String |
decode(java.lang.String in)
This method decodes all the XML 1.0 escape codes in the String parameter. |
static java.lang.String |
encode(java.lang.String s)
Encodes the specified string suitably for element content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XML_10_HEADER
public static final int EMPTY_ELEMENT_TAG
public static final int START_TAG
public static final int ELEMENT_CONTENT
public static final int END_TAG
| Method Detail |
|---|
public static final java.lang.String encode(java.lang.String s)
public static java.lang.String decode(java.lang.String in)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||