|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.fabric.da.util.XPathSearchResult<T>
public final class XPathSearchResult<T>
Holds a single result (name and value) from an XPath search of an SDO. There are two types of values:
Constructor Summary | |
---|---|
XPathSearchResult(java.lang.String name,
T value)
Creates a result with the value specified |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Gives the name of the element that holds this object |
T |
getValue()
Gives the value being held by this object |
int |
hashCode()
|
boolean |
isDataObject()
Indicates whether the value held is an SDO DataObject (i.e. |
boolean |
isList()
Indicates whether the value held is a List (not a leaf object, but not a DataObject, either) |
boolean |
isString()
Indicates whether the value held is a String (or any leaf value that has been converted to a String) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XPathSearchResult(java.lang.String name, T value)
name
- The name of the element that holds this objectvalue
- The value to be heldMethod Detail |
---|
public boolean isString()
public boolean isDataObject()
public boolean isList()
public T getValue()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |