| Modifier and Type | Method and Description |
|---|---|
| public XMLEntityResolver | |
| public XMLErrorHandler | |
| public boolean | |
| public Locale | |
| public Object | |
| public String[] | getRecognizedFeatures()
Returns a list of feature identifiers that are recognized by this XMLGrammarLoader. |
| public String[] | getRecognizedProperties()
Returns a list of property identifiers that are recognized by this XMLGrammarLoader. |
| public Grammar | loadGrammar(XMLInputSource
the location of the entity which forms
the starting point of the grammar to be constructed. source)Returns a Grammar object by parsing the contents of the entity pointed to by source. |
| public void | setEntityResolver(XMLEntityResolver
The new entity resolver. entityResolver)Sets the entity resolver. |
| public void | |
| public void | setFeature(String
The feature identifier. featureId, boolean The state of the feature. state)Sets the state of a feature. |
| public void | |
| public void | setProperty(String
The property identifier. propertyId, Object The state of the property. state)Sets the state of a property. |
| getEntityResolver | back to summary |
|---|---|
| public XMLEntityResolver getEntityResolver() Returns the registered entity resolver. | |
| getErrorHandler | back to summary |
|---|---|
| public XMLErrorHandler getErrorHandler() Returns the registered error handler. | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String featureId) throws XMLConfigurationException Returns the state of a feature.
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Return the Locale the XMLGrammarLoader is using. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propertyId) throws XMLConfigurationException Returns the state of a property.
| |
| getRecognizedFeatures | back to summary |
|---|---|
| public String[] getRecognizedFeatures() Returns a list of feature identifiers that are recognized by this XMLGrammarLoader. This method may return null if no features are recognized. | |
| getRecognizedProperties | back to summary |
|---|---|
| public String[] getRecognizedProperties() Returns a list of property identifiers that are recognized by this XMLGrammarLoader. This method may return null if no properties are recognized. | |
| loadGrammar | back to summary |
|---|---|
| public Grammar loadGrammar(XMLInputSource source) throws IOException, XNIException Returns a Grammar object by parsing the contents of the entity pointed to by source.
| |
| setEntityResolver | back to summary |
|---|---|
| public void setEntityResolver(XMLEntityResolver entityResolver) Sets the entity resolver.
| |
| setErrorHandler | back to summary |
|---|---|
| public void setErrorHandler(XMLErrorHandler errorHandler) Sets the error handler.
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(String featureId, boolean state) throws XMLConfigurationException Sets the state of a feature.
| |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale locale) Set the locale to use for messages.
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(String propertyId, Object state) throws XMLConfigurationException Sets the state of a property.
| |