public class TagMetaDataImpl extends Object implements TagMetaData
ATTRIBUTE_TYPE_DYNAMIC, ATTRIBUTE_TYPE_FIX, ATTRIBUTE_TYPE_MIXED, BODY_CONTENT_EMPTY, BODY_CONTENT_FREE, BODY_CONTENT_MUST
Constructor and Description |
---|
TagMetaDataImpl(int attrType,
int attrMin,
int attrMax,
int bodyContent,
boolean isBodyRE,
String description,
boolean handleException,
boolean hasAppendix,
boolean hasBody)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(TagMetaDataAttr attr)
adds a attribute to the tag
|
int |
getAttributeMax()
maximum count of attributes needed for tag
|
int |
getAttributeMin()
minimal count of attributes needed for tag
|
TagMetaDataAttr[] |
getAttributes()
fix attributes of the tag
|
int |
getAttributeType()
attribute type
|
int |
getBodyContent()
type of the body content
|
String |
getDescription()
A description of the tag.
|
boolean |
handleException()
can the tag handle exceptons
|
boolean |
hasAppendix()
has the tag a appendix
|
boolean |
hasBody()
has the tag a body
|
boolean |
isBodyRuntimeExpressionValue()
is the body of the tag parsed like inside a cfoutput
|
public TagMetaDataImpl(int attrType, int attrMin, int attrMax, int bodyContent, boolean isBodyRE, String description, boolean handleException, boolean hasAppendix, boolean hasBody)
attrType
- TagMetaData.ATTRIBUTE_TYPE_FIX,TagMetaData.ATTRIBUTE_TYPE_DYNAMIC,TagMetaData.ATTRIBUTE_TYPE_MIXEDattrMin
- minimal count of attributes needed for tagattrMax
- maximum count of attributes or -1 for infinity attributesbodyContent
- TagMetaData.BODY_CONTENT_EMPTY,TagMetaData.BODY_CONTENT_FREE,TagMetaData.BODY_CONTENT_MUSTisBodyRE
- is the body of the tag parsed like inside a cfoutputdescription
- A description of the tag.public int getAttributeMax()
TagMetaData
getAttributeMax
in interface TagMetaData
public int getAttributeMin()
TagMetaData
getAttributeMin
in interface TagMetaData
public int getAttributeType()
TagMetaData
getAttributeType
in interface TagMetaData
public TagMetaDataAttr[] getAttributes()
TagMetaData
getAttributes
in interface TagMetaData
public void addAttribute(TagMetaDataAttr attr)
attr
- public int getBodyContent()
TagMetaData
getBodyContent
in interface TagMetaData
public String getDescription()
TagMetaData
getDescription
in interface TagMetaData
public boolean isBodyRuntimeExpressionValue()
TagMetaData
isBodyRuntimeExpressionValue
in interface TagMetaData
public boolean handleException()
TagMetaData
handleException
in interface TagMetaData
public boolean hasAppendix()
TagMetaData
hasAppendix
in interface TagMetaData
public boolean hasBody()
TagMetaData
hasBody
in interface TagMetaData
Copyright © 2015 Lucee