public class DirectiveElement extends AbstractElement
TagElement
.| 构造器和说明 |
|---|
DirectiveElement(Parser parser)
Instantiates a new directive element.
|
DirectiveElement(java.lang.String value,
Parser parser)
Instantiates a new directive element.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
appendAfterChilds()
Append after childs.
|
protected java.lang.String |
appendBeforeChilds()
Append before childs.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getNameAndAttr()
Gets the content.
|
java.lang.String |
getReplace()
Gets the replace.
|
java.lang.String |
getValue() |
protected java.lang.String |
getValue(Element element)
Gets the value.
|
boolean |
isCondition()
Checks if is condition.
|
boolean |
isEmptyConditionParam()
Checks if is empty condition param.
|
boolean |
isEnclosed()
Checks if is enclose.
|
boolean |
isEnd()
Checks if is end.
|
boolean |
isGroupStart()
Checks if is group start.
|
boolean |
isReplaceable()
Checks if is replaceable.
|
boolean |
isWrapper()
Checks if is wrapper.
|
protected java.lang.String |
wrapDirective()
Warp directive.
|
public DirectiveElement(Parser parser)
parser - the parserpublic DirectiveElement(java.lang.String value,
Parser parser)
value - the valueparser - the parserpublic java.lang.String getValue()
protected java.lang.String wrapDirective()
protected java.lang.String getValue(Element element)
element - the elementprotected java.lang.String appendBeforeChilds()
protected java.lang.String appendAfterChilds()
public java.lang.String getNameAndAttr()
public java.lang.String getName()
public boolean isCondition()
public boolean isEnd()
public boolean isReplaceable()
public java.lang.String getReplace()
public boolean isGroupStart()
public boolean isWrapper()
public boolean isEmptyConditionParam()
public boolean isEnclosed()