|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.core.parser.ast.JETASTElement
org.eclipse.jet.core.parser.ast.BodyElement
org.eclipse.jet.core.parser.ast.XMLElement
public abstract class XMLElement
An abstract implementation representing all XML-based elements in the JET AST
This class is not intended to be subclassed by clients
| Method Summary | |
|---|---|
java.util.Map |
getAttributes()
Return a read-only map of the attributes (name to value map) |
java.lang.String |
getName()
Return the QName of the element |
java.lang.String |
getNSPrefix()
Return the XML Namespace prefixe of the element |
TagDefinition |
getTagDefinition()
|
java.lang.String |
getTagNCName()
Return the NCName (unqualified name) of the element. |
boolean |
removeLineWhenOtherwiseEmpty()
Indicate whether the the surrounding whitespace, including the trailing new line should be removed from the template output. |
| Methods inherited from class org.eclipse.jet.core.parser.ast.JETASTElement |
|---|
accept, accept0, getAst, getColumn, getEnd, getLine, getNextElement, getParent, getPrevElement, getStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final java.lang.String getName()
public final java.util.Map getAttributes()
public java.lang.String getTagNCName()
public java.lang.String getNSPrefix()
public final TagDefinition getTagDefinition()
public final boolean removeLineWhenOtherwiseEmpty()
JETASTElementfalse, while element
that do should should return true.
removeLineWhenOtherwiseEmpty in class JETASTElementtrue if the containing line should be removed if
otherwise empty.
|
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 | |||||||||