|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.html.HTMLTag
com.ge.research.html.ContentWrapperTag
Abstract class which defines an HTML tag which can enclose any (non-restricted) content. Defines the accessors and validators of the wrapped content.
| Field Summary |
| Fields inherited from class com.ge.research.html.HTMLTag |
HORIZONTAL_LINE, LINEBREAK, reconstructTag, tag, WHITESPACE |
| Constructor Summary | |
protected |
ContentWrapperTag(java.lang.String tagName)
Default constructor. |
| Method Summary | |
java.lang.String |
getContentEditable()
|
java.lang.Object |
getContents()
Returns the contents of the HTML Tag. |
boolean |
getNowrap()
Returns the value of the HTML Tag NOWRAP attribute. |
protected void |
resetTagSpecificInformation()
Resets the tag attributes and content of the HTML Tag to their default values. |
void |
setContentEditable(java.lang.String editable)
|
void |
setContents(java.lang.Object contents)
Sets the contents of this tag. |
void |
setNowrap(boolean attribute)
Sets the HTML Tag NOWRAP attribute. |
protected void |
writeTagSpecificAttributes()
Adds the tag specific attribute information to the HTML Tag. |
protected void |
writeTagSpecificData()
Adds the tag content to the HTML Tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected ContentWrapperTag(java.lang.String tagName)
tagName - the HTML type of this tag| Method Detail |
public java.lang.String getContentEditable()
public java.lang.Object getContents()
ContentWrapper
getContents in interface ContentWrapperpublic boolean getNowrap()
ContentWrapper
getNowrap in interface ContentWrappertrue if the contents of the tag do not word wrap;
false if the contents of the tag should word wrappublic void setContentEditable(java.lang.String editable)
public void setContents(java.lang.Object contents)
ContentWrapperHTMLTag.reconstructTag value to true.
setContents in interface ContentWrappercontents - the content for this tagHTMLTag.reconstructTagpublic void setNowrap(boolean attribute)
ContentWrapperHTMLTag.reconstructTag to true.
setNowrap in interface ContentWrapperattribute - true if this HTML Tag contents should not be word wrapped;
false if this HTML Tag contents should be word wrapped.HTMLTag.reconstructTagprotected void resetTagSpecificInformation()
HTMLTagHTMLTag.reset().
This method is not implemented in HTMLTag.
Subclasses that contain tag content information should implement this method to set their information to their default values.
resetTagSpecificInformation in class HTMLTagHTMLTag.reset()protected void writeTagSpecificAttributes()
HTMLTagHTMLTag.toString().
This method is not implemented in HTMLTag.
Subclasses that contain additional attribute information should implement this method to write those attributes in the inline tag.
writeTagSpecificAttributes in class HTMLTagHTMLTag.toString()protected void writeTagSpecificData()
HTMLTagHTMLTag.toString().
This method is not implemented in HTMLTag.
Subclasses that contain tag content information should implement this method to writeout that content in between the opening and closing tags.
writeTagSpecificData in class HTMLTagHTMLTag.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||