|
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
|
+--com.jdc.gui.html.ComplexTag
ComplexTag is a abstract class that contains methods common to all complex HTML tags, i.e. HTML tags that require both a start and end tag.
| Field Summary |
| Fields inherited from interface com.jdc.gui.html.MarkupLanguage |
XHTML |
| Constructor Summary | |
ComplexTag()
ComplexTag constructor. |
|
ComplexTag(boolean format)
ComplexTag constructor. |
|
| Method Summary | |
protected ComplexTag |
addAttribute(String attribute)
Adds an HTML tag attribute String of the form: name="value". |
protected String |
create(String startTag,
String tagBody)
Return the HTML required to create a tag object in a browser. |
protected String |
create(String startTag,
String tagBody,
String endTag)
Return the HTML required to create a tag object in a browser. |
protected String |
endTag(String identifier)
Returns an HTML end tag for the specified identifier. |
protected void |
setFormat(boolean format)
Set tag format status. |
protected ComplexTag |
setIdentifier(String identifier)
Sets the HTML tag identifier. |
protected String |
startTag(String identifier)
Returns an HTML start tag for the specified identifier. |
| Methods inherited from class com.jdc.xml.ComplexTag |
addAttribute, create, create, endTag, getAttributes, getBody, getIdentifier, setBody, startTag, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ComplexTag()
public ComplexTag(boolean format)
| Method Detail |
protected ComplexTag addAttribute(String attribute)
String of the form: name="value".
protected String create(String startTag,
String tagBody,
String endTag)
protected String create(String startTag,
String tagBody)
protected String startTag(String identifier)
protected String endTag(String identifier)
protected void setFormat(boolean format)
protected ComplexTag setIdentifier(String identifier)
setIdentifier in class ComplexTag
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||