|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.trigger.TriggerSpecificationParser
public class TriggerSpecificationParser
A reusable wrapper around the ANTLR generated parser for a TriggerSpecification. This class enables the reuse of the antlr parser/lexer pair without having to recreate them every time.
Constructor Summary | |
---|---|
TriggerSpecificationParser()
Creates a TriggerSpecification parser. |
|
TriggerSpecificationParser(NormalizerMappingResolver resolver)
Creates a normalizing TriggerSpecification parser. |
Method Summary | |
---|---|
boolean |
isNormizing()
Tests to see if this parser is normalizing. |
TriggerSpecification |
parse(java.lang.String spec)
Parses an TriggerSpecification without exhausting the parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriggerSpecificationParser()
public TriggerSpecificationParser(NormalizerMappingResolver resolver)
Method Detail |
---|
public TriggerSpecification parse(java.lang.String spec) throws java.text.ParseException
spec
- the specification to be parsed
java.text.ParseException
- if there are any recognition errors (bad syntax)public boolean isNormizing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |