|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsav.z.Name
This Name class has static methods to manipulate with strings represanting Zigzag simple objects. The string of simple objects does not have ":" symbol. The string may be number, quoted or unquoted string.
| Constructor Summary | |
Name()
|
|
| Method Summary | |
static boolean |
isNumber(java.lang.String value)
Checks whether value is number. |
static java.lang.String |
toQuote(java.lang.String term)
Returnes quoted term, like 'John'
instead of John.
|
static java.lang.String |
toTerm(java.lang.String value)
Returns non-quoted value, like John
instead of 'John'. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Name()
| Method Detail |
public static java.lang.String toQuote(java.lang.String term)
term, like 'John'
instead of John.
The term loses last space symbols.
If input parameter is quoted already, it remains the same.
Variable.term(),
Base.attrTerm(String, String),
ClassNavigation.term(String)public static java.lang.String toTerm(java.lang.String value)
value, like John
instead of 'John'.
Variable.value(),
Base.attrValue(String, String),
ClassNavigation.value(String)public static boolean isNumber(java.lang.String value)
value is number.
Variable.hasNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||