| Modifier and Type | Class and Description |
|---|---|
| public static class | RELAXReader.StateFactory
creates various State object, which in turn parses grammar. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | RELAXCoreNamespace
Namespace URI of RELAX Core |
| public final RELAXReader. |
| Access | Constructor and Description |
|---|---|
| public | RELAXReader(GrammarReaderController controller, SAXParserFactory parserFactory, RELAXReader.
|
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| public State | createExpressionChildState(State parent, StartTagInfo tag)
Implements abstract com. |
| public FacetState | |
| protected ExpressionPool | |
| protected Expression | interceptExpression(State state, Expression exp)
Overrides com. |
| protected String | localizeMessage(String propertyName, Object[] args)
Implements abstract com. |
| protected abstract Expression | resolveElementRef(String namespace, String label)
obtains an Expression specified by given (namespace,label) pair. |
| protected abstract Expression | resolveHedgeRef(String namespace, String label)
obtains an Expression specified by given (namespace,label) pair. |
| ERR_ILLEGAL_OCCURS | back to summary |
|---|---|
| public static final String ERR_ILLEGAL_OCCURS | |
| ERR_MISPLACED_OCCURS | back to summary |
|---|---|
| public static final String ERR_MISPLACED_OCCURS | |
| RELAXCoreNamespace | back to summary |
|---|---|
| public static final String RELAXCoreNamespace Namespace URI of RELAX Core | |
| sfactory | back to summary |
|---|---|
| public final RELAXReader. | |
| RELAXReader | back to summary |
|---|---|
| public RELAXReader(GrammarReaderController controller, SAXParserFactory parserFactory, RELAXReader. | |
| canHaveOccurs | back to summary |
|---|---|
| protected boolean canHaveOccurs(State state) returns true if the given state can have "occurs" attribute. | |
| createExpressionChildState | back to summary |
|---|---|
| public State createExpressionChildState(State parent, StartTagInfo tag) Implements abstract com. Doc from com. this method must be implemented by the derived class to create language-default expresion state.
| |
| createFacetState | back to summary |
|---|---|
| public FacetState createFacetState(State parent, StartTagInfo tag) | |
| getPool | back to summary |
|---|---|
| protected ExpressionPool getPool() | |
| interceptExpression | back to summary |
|---|---|
| protected Expression interceptExpression(State state, Expression exp) Overrides com. Doc from com. intercepts an expression made by ExpressionState before it is passed to the parent state. derived class can perform further wrap-up before it is received by the parent. This mechanism is used by RELAXReader to handle occurs attribute. | |
| localizeMessage | back to summary |
|---|---|
| protected String localizeMessage(String propertyName, Object[] args) Implements abstract com. Doc from com. formats localized message with arguments | |
| resolveElementRef | back to summary |
|---|---|
| protected abstract Expression resolveElementRef(String namespace, String label) obtains an Expression specified by given (namespace,label) pair. this method is called to parse <ref label="..." /> element. | |
| resolveHedgeRef | back to summary |
|---|---|
| protected abstract Expression resolveHedgeRef(String namespace, String label) obtains an Expression specified by given (namespace,label) pair. this method is called to parse <hedgeRef label="..." /> element. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected State | |
| protected State | |
| protected FacetState | |
| protected State | |
| protected State | |
| protected State | |
| protected State |
| StateFactory | back to summary |
|---|---|
| public StateFactory() | |
| choice | back to summary |
|---|---|
| protected State choice(State parent, StartTagInfo tag) | |
| empty | back to summary |
|---|---|
| protected State empty(State parent, StartTagInfo tag) | |
| facets | back to summary |
|---|---|
| protected FacetState facets(State parent, StartTagInfo tag) | |
| hedgeRef | back to summary |
|---|---|
| protected State hedgeRef(State parent, StartTagInfo tag) | |
| none | back to summary |
|---|---|
| protected State none(State parent, StartTagInfo tag) | |
| refLabel | back to summary |
|---|---|
| protected State refLabel(State parent, StartTagInfo tag) | |
| sequence | back to summary |
|---|---|
| protected State sequence(State parent, StartTagInfo tag) | |