|
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.ComplexTag
The ComplexTag class represents an XML complex tag object. An XML
complex tag has the form: <tag>body</tag>.
| Constructor Summary | |
ComplexTag()
Constructs a new XML ComplexTag object. |
|
| Method Summary | |
protected ComplexTag |
addAttribute(Attribute attribute)
Adds an XML tag attribute of the form: name="value". |
protected String |
create()
Creates and returns an XML tag of the form: <tag>>body</tag> for the current tag identifier, attributes, and body. |
protected String |
create(String body)
Creates and returns an XML tag of the form: <tag>>body</tag> for the current tag identifier, attributes, and body. |
protected String |
endTag()
Returns the XML end tag. |
protected String |
getAttributes()
Returns a String of XML tag attributes. |
protected String |
getBody()
Returns the XML tag body. |
protected String |
getIdentifier()
Returns the XML tag identifier. |
protected ComplexTag |
setBody(String body)
Sets the XML tag body. |
protected ComplexTag |
setIdentifier(String identifier)
Sets the XML tag identifier. |
protected String |
startTag()
Returns the XML start tag. |
String |
toString()
Returns an XML tag of the form: <tag>>body</tag>. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ComplexTag()
ComplexTag object.
| Method Detail |
protected ComplexTag addAttribute(Attribute attribute)
protected String create()
String.protected String create(String body)
String.protected String endTag()
protected String getAttributes()
String of XML tag attributes.
String of XML tag attributes.protected String getBody()
protected String getIdentifier()
protected ComplexTag setBody(String body)
protected ComplexTag setIdentifier(String identifier)
protected String startTag()
public String toString()
toString in class ObjectString.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||