org.apache.batik.bridge.svg12

Class XPathSubsetContentSelector.Scanner

protected static class XPathSubsetContentSelector.Scanner extends AbstractScanner

A scanner for XPath subset selectors.
Field Summary
static intASTERISK
static intCOLON
static intEOF
static intLEFT_PARENTHESIS
static intLEFT_SQUARE_BRACKET
static intNAME
static intNUMBER
static intRIGHT_PARENTHESIS
static intRIGHT_SQUARE_BRACKET
static intSTRING
Constructor Summary
Scanner(String s)
Creates a new Scanner object.
Method Summary
protected intdotNumber()
Scans the decimal part of a number.
protected intendGap()
Returns the end gap of the current lexical unit.
protected voidnextToken()
Returns the next token.
protected intnumber()
Scans a number.
protected intstring1()
Scans a single quoted string.
protected intstring2()
Scans a double quoted string.

Field Detail

ASTERISK

public static final int ASTERISK

COLON

public static final int COLON

EOF

public static final int EOF

LEFT_PARENTHESIS

public static final int LEFT_PARENTHESIS

LEFT_SQUARE_BRACKET

public static final int LEFT_SQUARE_BRACKET

NAME

public static final int NAME

NUMBER

public static final int NUMBER

RIGHT_PARENTHESIS

public static final int RIGHT_PARENTHESIS

RIGHT_SQUARE_BRACKET

public static final int RIGHT_SQUARE_BRACKET

STRING

public static final int STRING

Constructor Detail

Scanner

public Scanner(String s)
Creates a new Scanner object.

Method Detail

dotNumber

protected int dotNumber()
Scans the decimal part of a number.

endGap

protected int endGap()
Returns the end gap of the current lexical unit.

nextToken

protected void nextToken()
Returns the next token.

number

protected int number()
Scans a number.

string1

protected int string1()
Scans a single quoted string.

string2

protected int string2()
Scans a double quoted string.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.