private static WKTNode parseGeometryText(String coordString) {
protected static WKTNode parseGeometryText(String coordString) {
    private static WKTNode parseGeometryText(String coordString) {        int i = coordString.indexOf("(");        int j = coordString.lastIndexOf(")") + 1;        coordString = coordString.substring(i, j);        char[] ca = coordString.toCharArray();        WKTNode rootnode = new WKTNode();        rootnode.setRoot(true);        WKTNode actualNode;        actualNode = rootnode;        char actualDelimiter = '#';        for (int k = 0; k < ca.length; k++) {            if (ca[k] == '(') {                WKTNode n = new WKTNode();                n.setParent(actualNode);                actualNode.adChild(n);                actualNode = n;                actualDelimiter = '(';            } else if (ca[k] == ')') {                if (actualDelimiter == '(') {                    actualNode.setLeaf(true);                }                actualNode = actualNode.getParent();                actualDelimiter = ')';            } else {                char[] c = new char[1];                c[0] = ca[k];                actualNode.adToGeoWKT(c);            }        }        return rootnode;    }