| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv int | |
| pack-priv Node | |
| pack-priv XPathEvaluationResult. | |
| pack-priv Node | |
| pack-priv NodeList | |
| pack-priv double | |
| pack-priv XObject | |
| pack-priv int | |
| pack-priv String | |
| pack-priv Class |
| Access | Constructor and Description |
|---|---|
| public | XPathResultImpl(XObject
internal XPath result object resultObject, Class<T> class type type)Construct an XPathEvaluationResult object. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static < The expected class type. T> int | Returns: the internal XObject type.the class type type)Map the specified class type to the internal result type |
| private void | |
| pack-priv static < The expected class type. T> T | |
| public XPathEvaluationResult. | Returns: the result typeImplements javax. Return the result type as an enum specified by |
| public T | Returns: The value of the result.Implements javax. Returns the value of the result as the type <T> specified for the class. |
| boolValue | back to summary |
|---|---|
| pack-priv boolean boolValue | |
| currentIndex | back to summary |
|---|---|
| pack-priv int currentIndex | |
| currentNode | back to summary |
|---|---|
| pack-priv Node currentNode | |
| mapToType | back to summary |
|---|---|
| pack-priv XPathEvaluationResult. | |
| node | back to summary |
|---|---|
| pack-priv Node node | |
| nodeList | back to summary |
|---|---|
| pack-priv NodeList nodeList | |
| numValue | back to summary |
|---|---|
| pack-priv double numValue | |
| resultObject | back to summary |
|---|---|
| pack-priv XObject resultObject | |
| resultType | back to summary |
|---|---|
| pack-priv int resultType | |
| strValue | back to summary |
|---|---|
| pack-priv String strValue | |
| type | back to summary |
|---|---|
| pack-priv Class<T> type | |
| XPathResultImpl | back to summary |
|---|---|
| public XPathResultImpl(XObject resultObject, Class<T> type) throws TransformerException Construct an XPathEvaluationResult object.
| |
| classToInternalType | back to summary |
|---|---|
| pack-priv static <T> int classToInternalType(Class<T> type) Map the specified class type to the internal result type
| |
| getResult | back to summary |
|---|---|
| private void getResult(XObject resultObject) throws TransformerException Read the XObject and set values in accordance with the result type
| |
| getValue | back to summary |
|---|---|
| pack-priv static <T> T getValue(XObject resultObject, Class<T> type) throws TransformerException Read the internal result object and return the value in accordance with the type specified.
| |
| type | back to summary |
|---|---|
| public XPathEvaluationResult. Implements javax. Return the result type as an enum specified by
| |
| value | back to summary |
|---|---|
| public T value() Implements javax. Returns the value of the result as the type <T> specified for the class.
| |