|
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
|
+--com.jdc.gui.html.tag.Title
Title represents an HTML document TITLE
element. The TITLE element provides the document's title. Each
document may have exactly one TITLE element within the HEAD
element. TITLE may contain plain text and entities; it may not contain
other markup.
TITLE should be short and specific to the document's content
so that it may be used as a title for a user's bookmark, a title for the display
window by browsers, and a link from a search engine. A suggested limit for the
number of characters in a TITLE is 60.
Reference: The TITLE element
| Field Summary |
| Fields inherited from interface com.jdc.gui.html.MarkupLanguage |
XHTML |
| Constructor Summary | |
Title()
Constructs a new Title object. |
|
| Method Summary | |
String |
create(String text)
Returns the HTML required to create a title in a browser. |
String |
endTag()
Returns a title end tag. |
String |
getText()
Returns the title text. |
Title |
setText(String text)
Sets the title text. |
String |
startTag()
Returns a title start tag. |
String |
toString()
Returns the HTML required to create a title in a browser. |
| Methods inherited from class com.jdc.gui.html.ComplexTag |
addAttribute, create, create, endTag, setFormat, setIdentifier, startTag |
| Methods inherited from class com.jdc.xml.ComplexTag |
addAttribute, create, getAttributes, getBody, getIdentifier, setBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Title()
Title object.
| Method Detail |
public String create(String text)
create in class ComplexTagString.public String startTag()
startTag in class ComplexTagpublic String endTag()
endTag in class ComplexTagpublic String getText()
public Title setText(String text)
public String toString()
toString in class ComplexTagString.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||