public interface Tag extends Statement, HasBody
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(Attribute attribute)
adds a attribute to the tag
|
void |
addMetaData(Attribute metadata) |
void |
addMissingAttribute(TagLibTagAttr attr) |
boolean |
containsAttribute(String name)
check if tag has a tag with given name
|
String |
getAppendix()
appendix of the tag
|
Attribute |
getAttribute(String name)
returns a specified attribute from the tag
|
Map<String,Attribute> |
getAttributes()
return all Attributes as a map
|
Body |
getBody()
returns the body of the tag
|
String |
getFullname()
returns the fullname of the tag
|
Map<String,Attribute> |
getMetaData() |
TagLibTagAttr[] |
getMissingAttributes() |
TagLibTag |
getTagLibTag()
return the TagLibTag to this tag
|
boolean |
isScriptBase() |
Attribute |
removeAttribute(String name)
returns a specified attribute from the tag
|
void |
setAppendix(String appendix)
sets the appendix of the tag
|
void |
setBody(Body body)
sets the body of the tag
|
void |
setFullname(String fullname)
sets the fullanem of the tag
|
void |
setScriptBase(boolean scriptBase) |
void |
setTagLibTag(TagLibTag tagLibTag)
sets the tagLibTag of this tag
|
getEnd, getFlowControlFinal, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
String getAppendix()
Map<String,Attribute> getAttributes()
String getFullname()
TagLibTag getTagLibTag()
void setAppendix(String appendix)
appendix
- void setFullname(String fullname)
fullname
- void setTagLibTag(TagLibTag tagLibTag)
tagLibTag
- void addAttribute(Attribute attribute)
attribute
- boolean containsAttribute(String name)
name
- Attribute getAttribute(String name)
name
- Attribute removeAttribute(String name)
name
- void addMissingAttribute(TagLibTagAttr attr)
TagLibTagAttr[] getMissingAttributes()
void setScriptBase(boolean scriptBase)
boolean isScriptBase()
void addMetaData(Attribute metadata)
Map<String,Attribute> getMetaData()
Copyright © 2015 Lucee