org.apache.geronimo.console.util
Class StringTree
java.lang.Object
org.apache.geronimo.console.util.StringTree
- All Implemented Interfaces:
- Comparable
public class StringTree
- extends Object
- implements Comparable
name
public String name
childs
public ArrayList childs
StringTree
public StringTree(String nm,
ArrayList elements)
StringTree
public StringTree(String nm)
getName
public String getName()
setName
public void setName(String nm)
getChilds
public ArrayList getChilds()
setChilds
public void setChilds(ArrayList elements)
addChild
public void addChild(Object obj)
findNode
public StringTree findNode(String id)
equals
public boolean equals(Object node)
- Overrides:
equals
in class Object
toJSONObject
public String toJSONObject(String prependId)
toJSONObject
public String toJSONObject(String prependId,
Hashtable htLinks)
toJSONObject
public String toJSONObject(String prependId,
Hashtable htLinks,
boolean level1)
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.