org.eclipse.jet.compiler
Class XMLBodyElement

java.lang.Object
  extended by org.eclipse.jet.compiler.JET2ASTElement
      extended by org.eclipse.jet.compiler.XMLElement
          extended by org.eclipse.jet.compiler.XMLBodyElement

Deprecated. Since 0.8.0, use XMLBodyElement

public final class XMLBodyElement
extends XMLElement

Define a JET2 XML Element that has a begin-tag and end-tag, and zero or more body elements.


Constructor Summary
XMLBodyElement(org.eclipse.jet.compiler.JET2AST jet2ast, XMLBodyElement element)
          Deprecated.  
 
Method Summary
 void accept(JET2ASTVisitor visitor)
          Deprecated. Visit the AST and its contained elements.
 java.util.List getBodyElements()
          Deprecated. Return a read-only list of JET2 elements contained by this element.
 XMLBodyElementEnd getEndTag()
          Deprecated.  
 JET2ASTElement getNextElement()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.eclipse.jet.compiler.XMLElement
getAttributes, getDelegate, getName, getNSPrefix, getTagDefinition, getTagNCName
 
Methods inherited from class org.eclipse.jet.compiler.JET2ASTElement
getAst, getColumn, getEnd, getLine, getParent, getPrevElement, getStart, removeLineWhenOtherwiseEmpty, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLBodyElement

public XMLBodyElement(org.eclipse.jet.compiler.JET2AST jet2ast,
                      XMLBodyElement element)
Deprecated. 
Method Detail

getBodyElements

public final java.util.List getBodyElements()
Deprecated. 
Return a read-only list of JET2 elements contained by this element.

Returns:
a List of JET2ASTElement instances. The empty list is returned if there are no elements.

accept

public void accept(JET2ASTVisitor visitor)
Deprecated. 
Description copied from class: JET2ASTElement
Visit the AST and its contained elements.

Specified by:
accept in class JET2ASTElement
See Also:
JET2ASTElement.accept(org.eclipse.jet.compiler.JET2ASTVisitor)

getEndTag

public final XMLBodyElementEnd getEndTag()
Deprecated. 
Returns:
Returns the endTag.

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

getNextElement

public JET2ASTElement getNextElement()
Deprecated. 
Overrides:
getNextElement in class JET2ASTElement

Copyright 2006 IBM Corporation and others.
All Rights Reserved.