Class DataWffId
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
com.webfirmframework.wffweb.tag.html.html5.attribute.global.DataAttribute
com.webfirmframework.wffweb.tag.html.html5.attribute.global.DataWffId
- All Implemented Interfaces:
TagBase
,GlobalAttributable
,Serializable
,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
protected void
setAttributeName
(String attributeName) Set attribute name, eg: width, height, name, type etc..protected void
setAttributeValue
(boolean updateClient, String attributeValue) protected void
setAttributeValue
(String attributeValue) void
Methods inherited from class com.webfirmframework.wffweb.tag.html.html5.attribute.global.DataAttribute
init
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getReadLocks, getValueChangeListeners, getWffPrintStructure, getWriteLocks, lockAndGetReadLocks, lockAndGetReadLocksWithAttrLock, lockAndGetWriteLocks, lockAndGetWriteLocksWithAttrLock, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueMapByKeys, removeFromAttributeValueSet, removeValueChangeListener, replaceAllInAttributeValueSet, replaceAllInAttributeValueSet, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setModifiedLockless, setOwnerTag, setPreIndexedAttribute, 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
-
Field Details
-
ATTRIBUTE_NAME
-
TAG_NAME
Deprecated.incorrect naming, the correct naming is ATTRIBUTE_NAME. This constant variable will be removed in the later version, useATTRIBUTE_NAME
constant instead of this.
-
-
Constructor Details
-
DataWffId
- Parameters:
value
- the value for the attribute- Since:
- 2.0.0
-
-
Method Details
-
setValue
- Overrides:
setValue
in classDataAttribute
- Parameters:
value
- the value to set
-
getAttributeName
- Overrides:
getAttributeName
in classAbstractAttribute
- Returns:
- the attributeName set by
AbstractAttribute#setAttributeName(String)
-
getAttributeValue
- Overrides:
getAttributeValue
in classAbstractAttribute
- Returns:
- the attributeValue
-
getValue
- Overrides:
getValue
in classDataAttribute
- Returns:
- the value
-
setAttributeValue
- Overrides:
setAttributeValue
in classAbstractAttribute
- Parameters:
attributeValue
- the attributeValue to set
-
setAttributeName
Description copied from class:AbstractAttribute
Set attribute name, eg: width, height, name, type etc..- Overrides:
setAttributeName
in classAbstractAttribute
- Parameters:
attributeName
- the attributeName to set
-
setAttributeValue
- Overrides:
setAttributeValue
in classAbstractAttribute
- 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.attributeValue
- the attributeValue to set
-