|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--clark.xpath.Funct
Class from functions used in tokenization and analysis of XPath expresion.
| Constructor Summary | |
Funct()
|
|
| Method Summary | |
static boolean |
checkBrackets(java.lang.String str,
int from,
int to)
Checks if in the substring between 'from' and 'to' the brackets are correctly set. |
static boolean |
checkname(w3c.dom.Node nod)
Returns ture if the node is namespace node. |
static java.util.LinkedList |
clear(java.util.LinkedList list)
Clears repeated elements in LinkedList. |
static java.lang.String |
expandVariables(java.lang.String str)
|
static boolean |
filterE(java.lang.String str)
Returns true if the string is Filter Expresion. |
static int |
getFirst(java.lang.String str,
java.lang.String sep)
Gets the first token in string separated by separator. |
static java.lang.StringBuffer |
returnSkipSymbol(java.lang.String str)
|
static java.util.LinkedList |
toke(java.lang.String str,
java.lang.String razdelitel)
Tokenizes the string with specified seaparator. |
static java.lang.StringBuffer |
transformVariableContent(java.lang.String str)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Funct()
| Method Detail |
public static java.lang.String expandVariables(java.lang.String str)
throws ParseException
ParseExceptionpublic static java.lang.StringBuffer transformVariableContent(java.lang.String str)
public static java.lang.StringBuffer returnSkipSymbol(java.lang.String str)
public static java.util.LinkedList clear(java.util.LinkedList list)
list - The list to filter.
public static int getFirst(java.lang.String str,
java.lang.String sep)
throws ParseException
ParseException
public static boolean checkBrackets(java.lang.String str,
int from,
int to)
throws ParseException
ParseException
public static boolean filterE(java.lang.String str)
throws ParseException
ParseException
public static java.util.LinkedList toke(java.lang.String str,
java.lang.String razdelitel)
throws ParseException
str - The string for tokenization.razdelitel - The separator.
ParseExceptionpublic static boolean checkname(w3c.dom.Node nod)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||