acedb
Class Aceobj.AceobjNode

java.lang.Object
  extended byacedb.Aceobj.AceobjNode
Enclosing class:
Aceobj

protected class Aceobj.AceobjNode
extends java.lang.Object


Field Summary
protected  Aceobj.AceobjNode down
           
protected  Aceobj.AceobjNode parent
           
protected  Aceobj.AceobjNode right
           
protected  java.lang.String type
          A tre node with Ace class name, tags, build-in type derived from ace show -j option from tace.
protected  java.lang.String value
           
 
Constructor Summary
protected Aceobj.AceobjNode()
          Default constructor with all members set to null.
  Aceobj.AceobjNode(java.lang.Object obj, Aceobj.AceobjNode parent)
           
  Aceobj.AceobjNode(java.lang.String jstr)
          Constructs AceobjNode from String like ?Sequence?X97021?.
  Aceobj.AceobjNode(java.lang.String jstr, Aceobj.AceobjNode parent)
          constructor, also set parent node as parent
 
Method Summary
 void addChild(java.lang.String str)
          Add a node to the buttom of this one with str containing the Java String representation of the node.
 void addSibling(java.lang.String str)
          add a node to the right of this one.
 boolean isTag()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected java.lang.String type
A tre node with Ace class name, tags, build-in type derived from ace show -j option from tace. This is the building block for Aceobj.


value

protected java.lang.String value

right

protected Aceobj.AceobjNode right

down

protected Aceobj.AceobjNode down

parent

protected Aceobj.AceobjNode parent
Constructor Detail

Aceobj.AceobjNode

protected Aceobj.AceobjNode()
Default constructor with all members set to null.


Aceobj.AceobjNode

public Aceobj.AceobjNode(java.lang.String jstr)
Constructs AceobjNode from String like ?Sequence?X97021?. The ?type?value? format is the standard in ACE to represent a node.


Aceobj.AceobjNode

public Aceobj.AceobjNode(java.lang.String jstr,
                         Aceobj.AceobjNode parent)
constructor, also set parent node as parent


Aceobj.AceobjNode

public Aceobj.AceobjNode(java.lang.Object obj,
                         Aceobj.AceobjNode parent)
Method Detail

addChild

public void addChild(java.lang.String str)
Add a node to the buttom of this one with str containing the Java String representation of the node.


addSibling

public void addSibling(java.lang.String str)
add a node to the right of this one.


toString

public java.lang.String toString()

isTag

public boolean isTag()