xpointer.parsing
Class ElementSchemeParser

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

public class ElementSchemeParser
extends java.lang.Object

This class parses the schemedata of the element() scheme. The expression must conform to the following syntax: elementschemedata ::= (Name, childseq) | childseq childseq ::= ('/' [1-9] [0-9]* )+ A Token queue is created; the first token can be a String object (corresponding to the Name token) and the following tokens are Integer objects.


Constructor Summary
ElementSchemeParser(java.lang.String schemedata)
          Creates new ElementSchemeParser
 
Method Summary
 java.lang.Object[] getTokenQueue()
          Returns the token queue created after the parsing of the schemedata of the element() scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementSchemeParser

public ElementSchemeParser(java.lang.String schemedata)
Creates new ElementSchemeParser
Parameters:
schemedata - the schemedata of element scheme
Method Detail

getTokenQueue

public java.lang.Object[] getTokenQueue()
Returns the token queue created after the parsing of the schemedata of the element() scheme.
Returns:
the token queue