xpointer.parsing
Class SchemeParser

java.lang.Object
  |
  +--xpointer.parsing.SchemeParser

public class SchemeParser
extends java.lang.Object

This class provides some methods for extracting the schemes used in an XPointer expression.


Field Summary
static java.lang.String[] schemeNames
          integers identifyng schemes correspond to positions in this array
 
Constructor Summary
SchemeParser(java.lang.String str)
          Creates new SchemeParser
 
Method Summary
 SchemeList getSchemeList()
          Returns a list of ALL the schemes of any kind.
 SchemeList getXmlNSSchemeList(XPointerScheme xpointerScheme)
          Returns xmlns schemes referring a given xpointer scheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemeNames

public static final java.lang.String[] schemeNames
integers identifyng schemes correspond to positions in this array
Constructor Detail

SchemeParser

public SchemeParser(java.lang.String str)
Creates new SchemeParser
Parameters:
str - the XPointer expression
Method Detail

getSchemeList

public SchemeList getSchemeList()
Returns a list of ALL the schemes of any kind. The ordering of the schemes in the list reflects the order of the schemes in the full xpointer expression.

getXmlNSSchemeList

public SchemeList getXmlNSSchemeList(XPointerScheme xpointerScheme)
Returns xmlns schemes referring a given xpointer scheme