Class Translate
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.Translate
- All Implemented Interfaces:
TagBase
,GlobalAttributable
,Serializable
,Cloneable
<element translate="yes|no">
The translate attribute specifies whether the content of an element should be translated or not.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
invokes only once per objectboolean
void
setTranslation
(boolean translation) 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, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getReadLocks, getValueChangeListeners, getWffPrintStructure, getWriteLocks, lockAndGetReadLocks, lockAndGetReadLocksWithAttrLock, lockAndGetWriteLocks, lockAndGetWriteLocksWithAttrLock, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueMapByKeys, removeFromAttributeValueSet, removeValueChangeListener, replaceAllInAttributeValueSet, replaceAllInAttributeValueSet, setAttributeName, setAttributeValue, setAttributeValue, 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
-
Constructor Details
-
Translate
public Translate()false
will be set as the value.- Since:
- 1.0.0
-
Translate
public Translate(boolean translation) - Parameters:
translation
- the translation to set. The argumenttrue
orfalse
will setyes
orno
respectively.- Since:
- 1.0.0
-
Translate
- Parameters:
value
- the translation to set. The argument should beyes
orno
.- Since:
- 1.1.4
-
-
Method Details
-
init
protected void init()invokes only once per object- Since:
- 1.0.0
-
isTranslation
public boolean isTranslation()- Returns:
- the translation
- Since:
- 1.0.0
-
setTranslation
public void setTranslation(boolean translation) - Parameters:
translation
- the translation to set. The argumenttrue
orfalse
will setyes
orno
respectively.- Since:
- 1.0.0
-