public class NormalizerDescriptionSchemaParser extends AbstractSchemaParser<NormalizerDescription>
lexer, LOG, monitor, parser
Constructor and Description |
---|
NormalizerDescriptionSchemaParser()
Creates a schema parser instance.
|
Modifier and Type | Method and Description |
---|---|
protected NormalizerDescription |
doParse()
Parse a SchemaObject description and returns back an instance of SchemaObject.
|
NormalizerDescription |
parseNormalizerDescription(String normalizerDescription)
Parses a normalizer description:
|
isQuirksMode, parse, reset, setParserMonitor, setQuirksMode
public NormalizerDescriptionSchemaParser()
public NormalizerDescription parseNormalizerDescription(String normalizerDescription) throws ParseException
NormalizerDescription = LPAREN WSP numericoid ; object identifier [ SP "DESC" SP qdstring ] ; description SP "FQCN" SP fqcn ; fully qualified class name [ SP "BYTECODE" SP base64 ] ; optional base64 encoded bytecode extensions WSP RPAREN ; extensions base64 = *(4base64-char) base64-char = ALPHA / DIGIT / "+" / "/" fqcn = fqcnComponent 1*( DOT fqcnComponent ) fqcnComponent = ??? extensions = *( SP xstring SP qdstrings ) xstring = "X" HYPHEN 1*( ALPHA / HYPHEN / USCORE )
normalizerDescription
- the normalizer description to be parsedParseException
- if there are any recognition errors (bad syntax)protected NormalizerDescription doParse() throws antlr.RecognitionException, antlr.TokenStreamException
AbstractSchemaParser
doParse
in class AbstractSchemaParser<NormalizerDescription>
antlr.RecognitionException
- the native antlr exceptionantlr.TokenStreamException
- the native antlr exceptionCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.