public interface SimpleXPointerScheme
Modifier and Type | Method and Description |
---|---|
Name[] |
getSchemeNames()
Returns one or more names for this scheme.
|
SimpleXPointer |
parseXPointer(Name schemeName,
String schemeData,
PrefixToNamespace prefixToNS)
Parses xpointer having specified scheme name and specified scheme data.
|
Name[] getSchemeNames()
SimpleXPointer parseXPointer(Name schemeName, String schemeData, PrefixToNamespace prefixToNS) throws XPointerException
schemeName
- the name of the scheme.
It's one of the names returned by getSchemeNames()
.schemeData
- the scheme data to be parsedprefixToNS
- maps prefixes to the corresponding namespacesnull
if the specification
cannot be parsed.XPointerException
- if the specification cannot be parsed.
Note that the implementation may choose to return null
rather than raise an exception.