gnu.xml.xpath
Interface XPathParser.yyInput
- XPathTokenizer
public static interface XPathParser.yyInput
must be implemented by a scanner object to supply input to the parser.
boolean | advance() - move on to next token.
|
int | token() - classifies current token.
|
Object | value() - associated with current token.
|
advance
public boolean advance()
throws java.io.IOException
move on to next token.
- false if positioned beyond tokens.
token
public int token()
classifies current token.
Should not be called if advance() returned false.
- current %token or single character.
value
public Object value()
associated with current token.
Should not be called if advance() returned false.
- value for token().