|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.compiler.JET2ASTElement
org.eclipse.jet.compiler.XMLBodyElementEnd
public class XMLBodyElementEnd
Represent the closing tag of an XML Tag with a body.
Method Summary | |
---|---|
void |
accept(JET2ASTVisitor visitor)
Visit the AST and its contained elements. |
JET2ASTElement |
getPrevElement()
|
XMLBodyElement |
getStartTag()
|
boolean |
removeLineWhenOtherwiseEmpty()
Indicate whether the the surrounding whitespace, including the trailing new line should be removed from the template output. |
void |
setStartTag(XMLBodyElement startTag)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.jet.compiler.JET2ASTElement |
---|
getColumn, getEnd, getLine, getNextElement, getParent, getStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void accept(JET2ASTVisitor visitor)
JET2ASTElement
accept
in class JET2ASTElement
public final XMLBodyElement getStartTag()
public boolean removeLineWhenOtherwiseEmpty()
JET2ASTElement
false
,
while element that do should should return true
.
removeLineWhenOtherwiseEmpty
in class JET2ASTElement
true
if the containing line should be removed if otherwise empty.public final void setStartTag(XMLBodyElement startTag)
startTag
- The startTag to set.public JET2ASTElement getPrevElement()
getPrevElement
in class JET2ASTElement
public java.lang.String toString()
toString
in class java.lang.Object
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |