|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.transformer.bytecode.statement.StatementBase
railo.transformer.bytecode.statement.tag.TagBase
public abstract class TagBase
Constructor Summary | |
---|---|
TagBase(Position start,
Position end)
|
Method Summary | |
---|---|
void |
_writeOut(BytecodeContext bc)
write out the stament to the adater |
void |
_writeOut(BytecodeContext bc,
boolean doReuse)
|
void |
addAttribute(Attribute attribute)
adds a attribute to the tag |
void |
addMetaData(Attribute metadata)
|
void |
addMissingAttribute(String name,
String type)
|
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 |
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()
|
Map |
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 |
String |
toString()
|
Methods inherited from class railo.transformer.bytecode.statement.StatementBase |
---|
getDescendantCount, getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface railo.transformer.bytecode.Statement |
---|
getEnd, getFlowControlFinal, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut |
Constructor Detail |
---|
public TagBase(Position start, Position end)
Method Detail |
---|
public String getAppendix()
Tag
getAppendix
in interface Tag
Tag.getAppendix()
public Map getAttributes()
Tag
getAttributes
in interface Tag
public String getFullname()
Tag
getFullname
in interface Tag
public TagLibTag getTagLibTag()
Tag
getTagLibTag
in interface Tag
public void setAppendix(String appendix)
Tag
setAppendix
in interface Tag
public void setFullname(String fullname)
Tag
setFullname
in interface Tag
public void setTagLibTag(TagLibTag tagLibTag)
Tag
setTagLibTag
in interface Tag
public void addAttribute(Attribute attribute)
Tag
addAttribute
in interface Tag
public boolean containsAttribute(String name)
Tag
containsAttribute
in interface Tag
public Body getBody()
Tag
getBody
in interface HasBody
getBody
in interface Tag
public void setBody(Body body)
Tag
setBody
in interface Tag
public void _writeOut(BytecodeContext bc) throws BytecodeException
StatementBase
_writeOut
in class StatementBase
BytecodeException
public void _writeOut(BytecodeContext bc, boolean doReuse) throws BytecodeException
BytecodeException
public Attribute getAttribute(String name)
Tag
getAttribute
in interface Tag
public Attribute removeAttribute(String name)
Tag
removeAttribute
in interface Tag
public String toString()
toString
in class Object
public boolean isScriptBase()
isScriptBase
in interface Tag
public void setScriptBase(boolean scriptBase)
setScriptBase
in interface Tag
public void addMissingAttribute(String name, String type)
addMissingAttribute
in interface Tag
public Map getMissingAttributes()
getMissingAttributes
in interface Tag
public void addMetaData(Attribute metadata)
addMetaData
in interface Tag
public Map<String,Attribute> getMetaData()
getMetaData
in interface Tag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |