Class CustomTag
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.core.AbstractJsObject
com.webfirmframework.wffweb.tag.html.AbstractHtml
com.webfirmframework.wffweb.tag.htmlwff.CustomTag
- All Implemented Interfaces:
TagBase
,Serializable
,Cloneable
- Since:
- 1.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webfirmframework.wffweb.tag.html.AbstractHtml
AbstractHtml.TagType
-
Field Summary
Fields inherited from class com.webfirmframework.wffweb.tag.html.AbstractHtml
noTagContentTypeHtml
Fields inherited from class com.webfirmframework.wffweb.tag.core.AbstractJsObject
wffBMDatas
-
Constructor Summary
ConstructorDescriptionCustomTag
(String tagName, AbstractHtml.TagType tagType, AbstractHtml base, AbstractAttribute... attributes) CustomTag
(String tagName, AbstractHtml base, AbstractAttribute... attributes) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
invokes only once per objectboolean
boolean
Methods inherited from class com.webfirmframework.wffweb.tag.html.AbstractHtml
addAttributes, addAttributes, addAttributes, addChild, addInnerHtml, addInnerHtml, addInnerHtml, addInnerHtml, addInnerHtml, addInnerHtmls, addInnerHtmls, addWffData, appendChild, appendChildren, appendChildren, beforePrintStructure, beforeWritePrintStructureToOutputStream, beforeWritePrintStructureToWffBinaryMessageOutputStream, clone, clone, containsChild, deepClone, getAllNestedChildrenIncludingParent, getAttributeByName, getAttributeHtmlBytesCompressedByIndex, getAttributes, getCharset, getChildAt, getChildren, getChildren, getChildrenAsArray, getChildrenSize, getClosingTag, getDataWffId, getExactTagFromWffBMBytes, getFirstChild, getHtmlMiddleSB, getIndexByChild, getIndexByChild, getLastChild, getOpeningTag, getParent, getPrintStructure, getPrintStructure, getReadLock, getRootTag, getSharedData, getSharedObject, getSharedTagContent, getTagFromWffBMBytes, getTagFromWffBMBytes, getTagFromWffBMBytes, getTagName, getWffData, getWffObjects, getWriteLock, give, give, insertAfter, insertAfterIfPossible, insertBefore, insertBeforeIfPossible, internalId, isHtmlStartSBAsFirst, isSubscribedToSharedTagContent, loopThroughAllNestedChildren, prependChildren, removeAllChildren, removeAttributes, removeAttributes, removeAttributes, removeAttributes, removeAttributes, removeAttributes, removeChild, removeChildren, removeChildren, removeSharedTagContent, removeWffData, replaceWith, replaceWithIfPossible, resetHierarchy, setCharset, setChildren, setDataWffId, setParent, setSharedData, setSharedDataIfNull, subscribeTo, subscribeTo, subscribeTo, toBigHtmlString, toBigHtmlString, toBigOutputStream, toBigOutputStream, toBigOutputStream, toBigOutputStream, toBigOutputStream, toBigOutputStream, toBigOutputStream, toCompressedWffBMBytes, toCompressedWffBMBytesV2, toCompressedWffBMBytesV2, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toOutputStream, toString, toWffBMBytes, toWffBMBytes, toWffBMBytes, toWffBMBytes, writePrintStructureToOutputStream, writePrintStructureToOutputStream, writePrintStructureToWffBinaryMessageOutputStream
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractJsObject
addWffData, getWffData, removeWffData
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setModified, setRebuild
-
Constructor Details
-
CustomTag
public CustomTag(String tagName, AbstractHtml.TagType tagType, AbstractHtml base, AbstractAttribute... attributes) - Parameters:
tagName
- the tag nametagType
- the tag type for eg:AbstractHtml.TagType.SELF_CLOSING
base
- i.e. parent tag of this tagattributes
- An array ofAbstractAttribute
- Since:
- 1.0.0
-
CustomTag
- Parameters:
tagName
- the tag namebase
- i.e. parent tag of this tagattributes
- An array ofAbstractAttribute
- Since:
- 1.0.0
-
-
Method Details
-
init
protected void init()invokes only once per object- Since:
- 1.0.0
-
isSelfClosing
public boolean isSelfClosing()- Returns:
- true if it is set as self closing tag otherwise false
- Since:
- 1.0.0
-
isNonClosing
public boolean isNonClosing()- Returns:
- true if it is set as non closing tag otherwise false
- Since:
- 1.0.0
-