|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.xml.Tag
|
+--com.jdc.xml.SimpleTag
The SimpleTag class represents an XML simple tag object. An XML
simple tag has the form: <tag>, <!tag>, or
<?tag ?>.
| Field Summary |
| Fields inherited from class com.jdc.xml.Tag |
LEFT_BRACKET, RIGHT_BRACKET, SLASH, SPACE |
| Constructor Summary | |
protected |
SimpleTag()
Constructs a new XML SimpleTag object. |
| Method Summary | |
protected String |
create(String startChar,
String identifier)
Creates and returns an XML simple tag with the specified start character. |
protected String |
create(String startChar,
String identifier,
String endChar)
Creates and returns an XML simple tag with the specified start and end characters. |
protected String |
getEndChar()
Returns the XML tag end character. |
protected String |
getStartChar()
Returns the XML tag start character. |
protected SimpleTag |
setEndChar(String endChar)
Sets the XML tag end character. |
protected SimpleTag |
setStartChar(String startChar)
Sets the XML tag start character. |
String |
toString()
Returns an XML tag of the form: <name >. |
| Methods inherited from class com.jdc.xml.Tag |
addAttribute, create, getAttribute, getAttributes, getIdentifier, setIdentifier, tag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected SimpleTag()
SimpleTag object.
| Method Detail |
protected String create(String startChar,
String identifier)
String.
protected String create(String startChar,
String identifier,
String endChar)
String.protected String getEndChar()
protected String getStartChar()
protected SimpleTag setStartChar(String startChar)
protected SimpleTag setEndChar(String endChar)
public String toString()
<name >.
toString in class TagString.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||