| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| protected static class | RELAXNGReader.RefExpParseInfo
information necessary to correctly parse pattern definitions. |
| public static class | RELAXNGReader.StateFactory
creates various State object, which in turn parses grammar. |
| Modifier and Type | Field and Description |
|---|---|
| protected RELAXNGReader. | currentNamedPattern
Info about the current ReferenceExp object which is being defined. |
| private DatatypeLibrary | datatypeLib
currently active datatype library. |
| private DatatypeLibraryFactory | datatypeLibraryFactory
DatatypeLibrary factory object. |
| protected String | datatypeLibURI
the namespace URI of the currently active datatype library. |
| protected boolean | directRefernce
Flag to indicate whether we saw <element> or not. |
| private final LightStack | |
| private final LightStack | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private final Map | refExpParseInfos
Map from ReferenceExps to RefExpParseInfos. |
| public static final String | RELAXNGNamespace
Namespace URI of RELAX NG |
| protected static Schema | relaxNGSchema4Schema
Schema for schema of RELAX NG. |
| protected final RestrictionChecker | restrictionChecker
Contextual restriction checker. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RELAXNGReader(GrammarReaderController controller, SAXParserFactory parserFactory)
easy-to-use constructor. |
| public | RELAXNGReader(GrammarReaderController controller, SAXParserFactory parserFactory, RELAXNGReader.
full constructor |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public State | createExpressionChildState(State parent, StartTagInfo tag)
Overrides com. |
| protected State | |
| public void | endDocument()
Overrides org. Implements org. |
| public void | endElement(String
The element's Namespace URI, or the empty string. a, String The element's local name, or the empty string. b, String The element's qualified (prefixed) name, or the empty
string. c)Overrides com. Implements org. |
| public DatatypeLibrary | |
| public DatatypeLibraryFactory | |
| protected TREXGrammar | |
| protected RELAXNGReader. | |
| public static Schema | |
| protected RELAXNGReader. | |
| protected boolean | isGrammarElement(StartTagInfo tag)
Implements abstract com. |
| protected String | localizeMessage(String propertyName, Object[] args)
Overrides com. |
| public static TREXGrammar | parse(String grammarURL, SAXParserFactory factory, GrammarReaderController controller)
loads RELAX NG pattern |
| public static TREXGrammar | parse(InputSource grammar, SAXParserFactory factory, GrammarReaderController controller)
loads RELAX NG pattern |
| public Datatype | |
| public DatatypeLibrary | resolveDataTypeLibrary(String uri)
obtains the DataTypeLibrary that represents the specified namespace URI. |
| public String | resolveNamespacePrefix(String prefix)
Overrides com. Implements org. |
| public void | setDatatypeLibraryFactory(DatatypeLibraryFactory datatypeLibraryFactory)
Sets the datatypeLibraryFactory. |
| public void | startDocument()
Overrides org. Implements org. |
| public void | startElement(String
The element's Namespace URI, or the empty string. a, String The element's local name, or the empty string. b, String The element's qualified (prefixed) name, or the empty
string. c, Attributes The element's attributes. d)Overrides com. Implements org. |
| public void |