|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.xpath.expr.Expression
org.planx.xpath.object.XObject
org.planx.xpath.object.XSimple
org.planx.xpath.object.XString
public class XString
A string value returned by an XPath expression.
| Constructor Summary | |
|---|---|
XString(String s)
Construct a XString from the specified string. |
|
| Method Summary | |
|---|---|
boolean |
booleanValue()
Returns true if this XString does
not represent the empty string. |
double |
doubleValue()
Returns the double value of this XString. |
static double |
doubleValue(String s)
Returns the double value of the specified String. |
boolean |
equals(Object o)
Returns true if and only if o is
an instance of XString and it has the same string
value as this. |
int |
hashCode()
Returns a hash code value for this object. |
String |
stringValue()
Returns the string value of this XString. |
String |
toString()
Returns the string value of this XString. |
| Methods inherited from class org.planx.xpath.object.XObject |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XString(String s)
| Method Detail |
|---|
public boolean booleanValue()
true if this XString does
not represent the empty string. Otherwise returns
false.
booleanValue in class XObjectpublic double doubleValue()
doubleValue in class XSimplepublic static double doubleValue(String s)
public String stringValue()
stringValue in class XSimplepublic String toString()
toString in class Objectpublic boolean equals(Object o)
o is
an instance of XString and it has the same string
value as this.
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||