|
||||||||||
| 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.ParamTag
Encapsulates all the attributes of an HTML "PARAM" element, its accessors, validations, and default values.
| Field Summary |
| Fields inherited from class com.ge.research.html.HTMLTag |
HORIZONTAL_LINE, LINEBREAK, reconstructTag, tag, WHITESPACE |
| Constructor Summary | |
ParamTag()
Default constructor. |
|
ParamTag(java.lang.String name,
java.lang.String value)
Calls the default constructor. |
|
| Method Summary | |
java.lang.String |
getName()
Returns the value of the HTML Tag NAME attribute. |
java.lang.String |
getValue()
Returns the value of the HTML Tag VALUE attribute. |
protected void |
resetTagSpecificInformation()
Resets the tag attributes and content of the HTML Tag to their default values. |
void |
setName(java.lang.String attribute)
Sets the HTML Tag NAME attribute. |
void |
setValue(java.lang.String attribute)
Sets the HTML Tag VALUE attribute. |
protected void |
writeTagSpecificAttributes()
Adds the tag specific attribute information to the HTML Tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ParamTag()
TagPropertyConstants.PARAM_TAG).
TagPropertyConstants.PARAM_TAG
public ParamTag(java.lang.String name,
java.lang.String value)
name - the name of the parametervalue - the value of the parameterParamTag(),
setName(java.lang.String),
setValue(java.lang.String)| Method Detail |
public java.lang.String getName()
public java.lang.String getValue()
public void setName(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag NAME attributeHTMLTag.reconstructTagpublic void setValue(java.lang.String attribute)
HTMLTag.reconstructTag to true.
attribute - the new value for the HTML Tag VALUE attributeHTMLTag.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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||