protected static class XPathSubsetContentSelector.Scanner extends AbstractScanner
| Modifier and Type | Field and Description |
|---|---|
static int |
ASTERISK |
static int |
COLON |
static int |
EOF |
static int |
LEFT_PARENTHESIS |
static int |
LEFT_SQUARE_BRACKET |
static int |
NAME |
static int |
NUMBER |
static int |
RIGHT_PARENTHESIS |
static int |
RIGHT_SQUARE_BRACKET |
static int |
STRING |
blankCharacters, buffer, current, end, position, previousType, reader, start, type| Constructor and Description |
|---|
Scanner(java.lang.String s)
Creates a new Scanner object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
dotNumber()
Scans the decimal part of a number.
|
protected int |
endGap()
Returns the end gap of the current lexical unit.
|
protected void |
nextToken()
Returns the next token.
|
protected int |
number()
Scans a number.
|
protected int |
string1()
Scans a single quoted string.
|
protected int |
string2()
Scans a double quoted string.
|
clearBuffer, getBuffer, getColumn, getEnd, getLine, getStart, getStringValue, getType, isEqualIgnoreCase, next, nextCharpublic static final int EOF
public static final int NAME
public static final int COLON
public static final int LEFT_SQUARE_BRACKET
public static final int RIGHT_SQUARE_BRACKET
public static final int LEFT_PARENTHESIS
public static final int RIGHT_PARENTHESIS
public static final int STRING
public static final int NUMBER
public static final int ASTERISK
protected int endGap()
endGap in class AbstractScannerprotected void nextToken()
throws ParseException
nextToken in class AbstractScannerParseExceptionprotected int string1()
throws java.io.IOException
java.io.IOExceptionprotected int string2()
throws java.io.IOException
java.io.IOExceptionprotected int number()
throws java.io.IOException
java.io.IOExceptionprotected int dotNumber()
throws java.io.IOException
java.io.IOExceptionCopyright © 2022 Apache Software Foundation. All Rights Reserved.