Used for scheme specific parsing and evaluation of an XPointer expression. This interface applies to both ShortHand and SchemeBased XPointer expressions.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: A String containing the scheme data of the PointerPart.Returns a String containing the scheme data of the PointerPart. |
| public String | Returns: A String containing the scheme name of the PointerPart.Returns a String containing the scheme name of the PointerPart or the name of the ShortHand Pointer. |
| public boolean | Returns: True if the XPointer expression resolves to a non-element child of the current resource fragment.Returns true if the XPointer expression resolves to a non-element child of the current resource fragment. |
| public boolean | Returns: True if the xpointer expression matches a fragment in the resource else returns false.Returns true if the XPointer expression resolves to a resource fragment specified as input else returns false. |
| public void | parseXPointer(String
A String representing the PointerPart or ShortHandPointer. part)Provides scheme specific parsing of a XPointer expression i.e. the PointerPart or ShortHandPointer. |
| public boolean | resolveXPointer(QName
- The name of the element. element, XMLAttributes - The element attributes. attributes, Augmentations - Additional information that may include infoset augmentations augs, int - An integer indicating
0 - The start of an element
1 - The end of an element
2 - An empty element call event)Evaluates an XML resource with respect to an XPointer expressions by checking if it's element and attributes parameters match the criteria specified in the xpointer expression. |
| public void | setSchemeData(String
A String containing the scheme data of the PointerPart. schemeData)Sets the scheme data of the PointerPart. |
| public void | setSchemeName(String
A String containing the scheme name of the PointerPart. schemeName)Sets the scheme name of the PointerPart or the ShortHand Pointer name. |
| EVENT_ELEMENT_EMPTY | back to summary |
|---|---|
| public static final int EVENT_ELEMENT_EMPTY | |
| EVENT_ELEMENT_END | back to summary |
|---|---|
| public static final int EVENT_ELEMENT_END | |
| EVENT_ELEMENT_START | back to summary |
|---|---|
| public static final int EVENT_ELEMENT_START | |
| getSchemeData | back to summary |
|---|---|
| public String getSchemeData() Returns a String containing the scheme data of the PointerPart.
| |
| getSchemeName | back to summary |
|---|---|
| public String getSchemeName() Returns a String containing the scheme name of the PointerPart or the name of the ShortHand Pointer.
| |
| isChildFragmentResolved | back to summary |
|---|---|
| public boolean isChildFragmentResolved() throws XNIException Returns true if the XPointer expression resolves to a non-element child of the current resource fragment.
| |
| isFragmentResolved | back to summary |
|---|---|
| public boolean isFragmentResolved() throws XNIException Returns true if the XPointer expression resolves to a resource fragment specified as input else returns false.
| |
| parseXPointer | back to summary |
|---|---|
| public void parseXPointer(String part) throws XNIException Provides scheme specific parsing of a XPointer expression i.e. the PointerPart or ShortHandPointer.
| |
| resolveXPointer | back to summary |
|---|---|
| public boolean resolveXPointer(QName element, XMLAttributes attributes, Augmentations augs, int event) throws XNIException Evaluates an XML resource with respect to an XPointer expressions by checking if it's element and attributes parameters match the criteria specified in the xpointer expression.
| |
| setSchemeData | back to summary |
|---|---|
| public void setSchemeData(String schemeData) Sets the scheme data of the PointerPart.
| |
| setSchemeName | back to summary |
|---|---|
| public void setSchemeName(String schemeName) Sets the scheme name of the PointerPart or the ShortHand Pointer name.
| |