Package org.apache.batik.bridge.svg12
Class XPathSubsetContentSelector.Scanner
java.lang.Object
org.apache.batik.parser.AbstractScanner
org.apache.batik.bridge.svg12.XPathSubsetContentSelector.Scanner
- Enclosing class:
XPathSubsetContentSelector
A scanner for XPath subset selectors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.apache.batik.parser.AbstractScanner
blankCharacters, buffer, current, end, position, previousType, reader, start, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Scans the decimal part of a number.protected int
endGap()
Returns the end gap of the current lexical unit.protected void
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.Methods inherited from class org.apache.batik.parser.AbstractScanner
clearBuffer, getBuffer, getColumn, getEnd, getLine, getStart, getStringValue, getType, isEqualIgnoreCase, next, nextChar
-
Field Details
-
EOF
public static final int EOF- See Also:
-
NAME
public static final int NAME- See Also:
-
COLON
public static final int COLON- See Also:
-
LEFT_SQUARE_BRACKET
public static final int LEFT_SQUARE_BRACKET- See Also:
-
RIGHT_SQUARE_BRACKET
public static final int RIGHT_SQUARE_BRACKET- See Also:
-
LEFT_PARENTHESIS
public static final int LEFT_PARENTHESIS- See Also:
-
RIGHT_PARENTHESIS
public static final int RIGHT_PARENTHESIS- See Also:
-
STRING
public static final int STRING- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
ASTERISK
public static final int ASTERISK- See Also:
-
-
Constructor Details
-
Scanner
Creates a new Scanner object.
-
-
Method Details
-
endGap
protected int endGap()Returns the end gap of the current lexical unit.- Specified by:
endGap
in classAbstractScanner
-
nextToken
Returns the next token.- Specified by:
nextToken
in classAbstractScanner
- Throws:
ParseException
-
string1
Scans a single quoted string.- Throws:
IOException
-
string2
Scans a double quoted string.- Throws:
IOException
-
number
Scans a number.- Throws:
IOException
-
dotNumber
Scans the decimal part of a number.- Throws:
IOException
-