public class SubtreeSpecificationChecker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ReusableAntlrSubtreeSpecificationCheckerLexer |
lexer
the antlr generated lexer being wrapped
|
private ReusableAntlrSubtreeSpecificationChecker |
parser
the antlr generated parser being wrapped
|
| Constructor and Description |
|---|
SubtreeSpecificationChecker(SchemaManager schemaManager)
Creates a normalizing subtree specification parser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse(java.lang.String spec)
Parses a subtree specification without exhausting the parser.
|
private void |
reset(java.lang.String spec)
Initializes the plumbing by creating a pipe and coupling the parser/lexer
pair with it.
|
private ReusableAntlrSubtreeSpecificationChecker parser
private ReusableAntlrSubtreeSpecificationCheckerLexer lexer
public SubtreeSpecificationChecker(SchemaManager schemaManager)
private void reset(java.lang.String spec)
public void parse(java.lang.String spec)
throws java.text.ParseException
spec - the specification to be parsedjava.text.ParseException - if there are any recognition errors (bad syntax)