|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oXML.type.AbstractNode
org.oXML.type.StringNode
ObjectBox - o:XML compiler and interpreter for more information see http://www.o-xml.org/objectbox Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd email: martin at hack.org This class has been generated from an o:XML template
| Field Summary | |
static Type |
TYPE
|
| Fields inherited from class org.oXML.type.AbstractNode |
me |
| Constructor Summary | |
StringNode()
generated default constructor |
|
StringNode(AbstractNode me,
Type type)
|
|
StringNode(Node value)
generated constructor, called directly |
|
StringNode(java.lang.String value)
|
|
StringNode(StringNode other,
boolean deep)
generated constructor, called directly |
|
| Method Summary | |
Node |
_boolean()
|
Node |
bytes()
|
Node |
concat(Node other)
|
Node |
contains(Node other)
|
Node |
copy(boolean deep)
|
Node |
endsWith(Node other)
|
java.lang.String |
getString()
|
int |
hashCode()
|
Node |
indexOf(Node other)
|
void |
init()
generated default initialiser |
void |
init(Node value)
|
void |
init(StringNode other,
boolean deep)
|
Node |
lastIndexOf(Node other)
|
Node |
length()
|
Node |
lower()
|
Node |
match(Node pattern)
|
Node |
match(Node pattern,
Node limit)
|
Node |
matches(Node pattern)
|
StringNode |
merge(Node other)
|
Node |
number()
|
static double |
numberValue(java.lang.String value)
turn a string into a number |
Node |
split(Node pattern)
|
Node |
split(Node pattern,
Node limit)
|
Node |
startsWith(Node other)
|
Node |
string()
|
Node |
substitute(Node pattern,
Node substitution)
|
Node |
substitute(Node pattern,
Node substitution,
Node limit)
|
Node |
substring(Node from)
|
Node |
substring(Node from,
Node to)
|
static java.lang.String |
substring(java.lang.String string,
double index)
|
static java.lang.String |
substring(java.lang.String string,
double index1,
double index2)
|
Node |
substringAfter(Node other)
|
Node |
substringAfterLast(Node other)
|
Node |
substringBefore(Node other)
|
Node |
substringBeforeLast(Node other)
|
java.lang.String |
toString()
|
Node |
trim()
|
Node |
upper()
|
| Methods inherited from class org.oXML.type.AbstractNode |
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Type TYPE
| Constructor Detail |
public StringNode(AbstractNode me,
Type type)
public StringNode()
public StringNode(java.lang.String value)
public StringNode(StringNode other,
boolean deep)
public StringNode(Node value)
| Method Detail |
public void init()
init in class AbstractNodepublic static final double numberValue(java.lang.String value)
public java.lang.String getString()
public static java.lang.String substring(java.lang.String string,
double index)
public static java.lang.String substring(java.lang.String string,
double index1,
double index2)
public StringNode merge(Node other)
public int hashCode()
hashCode in class AbstractNodepublic java.lang.String toString()
toString in class AbstractNode
public void init(StringNode other,
boolean deep)
public void init(Node value)
public Node length()
public Node upper()
public Node lower()
public Node concat(Node other)
public Node startsWith(Node other)
public Node endsWith(Node other)
public Node contains(Node other)
public Node substring(Node from)
throws ObjectBoxException
ObjectBoxException
public Node substring(Node from,
Node to)
public Node substringBefore(Node other)
public Node substringBeforeLast(Node other)
public Node substringAfter(Node other)
public Node substringAfterLast(Node other)
public Node indexOf(Node other)
public Node lastIndexOf(Node other)
public Node trim()
public Node matches(Node pattern)
throws ObjectBoxException
ObjectBoxException
public Node match(Node pattern)
throws ObjectBoxException
ObjectBoxException
public Node match(Node pattern,
Node limit)
throws ObjectBoxException
ObjectBoxException
public Node split(Node pattern,
Node limit)
throws ObjectBoxException
ObjectBoxException
public Node split(Node pattern)
throws ObjectBoxException
ObjectBoxException
public Node substitute(Node pattern,
Node substitution,
Node limit)
throws ObjectBoxException
ObjectBoxException
public Node substitute(Node pattern,
Node substitution)
throws ObjectBoxException
ObjectBoxExceptionpublic Node string()
public Node number()
public Node _boolean()
public Node bytes()
public Node copy(boolean deep)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||