Class CustomAttribute
- java.lang.Object
-
- com.webfirmframework.wffweb.tag.core.AbstractTagBase
-
- com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
-
- com.webfirmframework.wffweb.tag.html.attributewff.CustomAttribute
-
- All Implemented Interfaces:
TagBase
,GlobalAttributable
,java.io.Serializable
,java.lang.Cloneable
public class CustomAttribute extends AbstractAttribute implements GlobalAttributable
This is a custom attribute to create an attribute with any name and value.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
LOGGER
-
-
Constructor Summary
Constructors Constructor Description CustomAttribute(java.lang.String attributeName)
CustomAttribute(java.lang.String attributeName, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
protected void
init()
invokes only once per objectvoid
setValue(boolean updateClient, java.lang.String value)
void
setValue(java.lang.String value)
-
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeName, getAttributeValue, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getValueChangeListeners, getWffPrintStructure, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueSet, removeValueChangeListener, setAttributeName, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setOwnerTag, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTag
-
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuild
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
-
-
-
Method Detail
-
init
protected void init()
invokes only once per object- Since:
- 1.0.0
-
getValue
public java.lang.String getValue()
- Returns:
- the value
- Since:
- 1.0.0
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- the value to set- Since:
- 1.0.0
-
setValue
public void setValue(boolean updateClient, java.lang.String value)
- Parameters:
updateClient
- true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.value
- the value to set- Since:
- 2.1.15
-
-