|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.layer.mysql.WKTNode
public class WKTNode
This class represents a Node used to construct a tree while parsing
the WKT (text) representation of the Geometry.
Copyright 2003 by the Author
Constructor Summary | |
---|---|
WKTNode()
|
Method Summary | |
---|---|
void |
adChild(WKTNode n)
|
void |
adToGeoWKT(char[] c)
Sets the geoWKT. |
int |
countChildren()
|
WKTNode |
getChildByNumber(int i)
|
java.lang.String |
getGeoWKT()
Returns the geoWKT. |
WKTNode |
getParent()
Returns the parent. |
boolean |
isLeaf()
Returns the leaf. |
boolean |
isRoot()
Returns the root. |
void |
setLeaf(boolean leaf)
Sets the leaf. |
void |
setParent(WKTNode parent)
Sets the parent. |
void |
setRoot(boolean root)
Sets the root. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WKTNode()
Method Detail |
---|
public java.lang.String getGeoWKT()
public boolean isLeaf()
public WKTNode getParent()
public boolean isRoot()
public void adToGeoWKT(char[] c)
c
- The geoWKT to setpublic void setLeaf(boolean leaf)
leaf
- The leaf to setpublic void setParent(WKTNode parent)
parent
- The parent to setpublic void setRoot(boolean root)
root
- The root to setpublic int countChildren()
public void adChild(WKTNode n)
public WKTNode getChildByNumber(int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |