jxl.xlp
Class ParsedElement

java.lang.Object
  extended by jxl.xlp.ParsedElement

public class ParsedElement
extends java.lang.Object

Author:
Alex Lynch (jxlynch@users.sf.net)

Constructor Summary
ParsedElement(java.lang.String name, java.lang.String elem, int offset)
          Creates a new instance of ParsedElement
 
Method Summary
 void addChild(ParsedElement elm)
           
 java.util.List<ParsedElement> getChildren()
          Getter for property children.
 java.lang.String getElement()
          Getter for property element.
 java.lang.String getName()
          Getter for property name.
 int getOffset()
           
 ParsedElement getParent()
          Getter for property parent.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParsedElement

public ParsedElement(java.lang.String name,
                     java.lang.String elem,
                     int offset)
Creates a new instance of ParsedElement

Method Detail

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

getElement

public java.lang.String getElement()
Getter for property element.

Returns:
Value of property element.

getChildren

public java.util.List<ParsedElement> getChildren()
Getter for property children.

Returns:
Value of property children.

getParent

public ParsedElement getParent()
Getter for property parent.

Returns:
Value of property parent.

addChild

public void addChild(ParsedElement elm)

getOffset

public int getOffset()

toString

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