public class NormalizerDescriptionSchemaParser extends AbstractSchemaParser
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG
The LoggerFactory used by this class
|
lexer, monitor, parser
Constructor and Description |
---|
NormalizerDescriptionSchemaParser()
Creates a schema parser instance.
|
Modifier and Type | Method and Description |
---|---|
NormalizerDescription |
parse(String schemaDescription)
Parses a Normalizer description.
|
NormalizerDescription |
parseNormalizerDescription(String normalizerDescription)
Parses a normalizer description:
|
isQuirksMode, reset, setParserMonitor, setQuirksMode, updateSchemaName
protected static final org.slf4j.Logger LOG
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)public NormalizerDescription parse(String schemaDescription) throws ParseException
parse
in class AbstractSchemaParser
schemaDescription
- The Normalizer description to parseParseException
- If the parsing failedCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.