| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final ValidatorConfig | mConfig
Current configurations for this factory |
| protected static SAXParserFactory |
| Access | Constructor and Description |
|---|---|
| protected |
| mConfig | back to summary |
|---|---|
| protected final ValidatorConfig mConfig Current configurations for this factory | |
| sSaxFactory | back to summary |
|---|---|
| protected static SAXParserFactory sSaxFactory | |
| BaseSchemaFactory | back to summary |
|---|---|
| protected BaseSchemaFactory(String schemaType) | |
| createSchema | back to summary |
|---|---|
| public XMLValidationSchema createSchema(InputStream in, String encoding, String publicId, String systemId) throws XMLStreamException Implements abstract org.
| |
| createSchema | back to summary |
|---|---|
| public XMLValidationSchema createSchema(Reader r, String publicId, String systemId) throws XMLStreamException Implements abstract org.
| |
| createSchema | back to summary |
|---|---|
| public XMLValidationSchema createSchema(URL url) throws XMLStreamException Implements abstract org.
| |
| createSchema | back to summary |
|---|---|
| public XMLValidationSchema createSchema(File f) throws XMLStreamException Implements abstract org.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propName) Implements abstract org.
| |
| getSaxFactory | back to summary |
|---|---|
| protected static synchronized SAXParserFactory getSaxFactory() We will essentially share a singleton sax parser factory; the reason being that constructing (or, rather, locating implementation class) is bit expensive. | |
| isPropertySupported | back to summary |
|---|---|
| public boolean isPropertySupported(String propName) Implements abstract org.
| |
| loadSchema | back to summary |
|---|---|
| protected abstract XMLValidationSchema loadSchema(InputSource src, Object sysRef) throws XMLStreamException | |
| setProperty | back to summary |
|---|---|
| public boolean setProperty(String propName, Object value) Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | error(Locator[] locs, String msg, Exception nestedException)
Overrides com. Implements com.
|
| mErrorMsg | back to summary |
|---|---|
| public String mErrorMsg | |
| MyGrammarController | back to summary |
|---|---|
| public MyGrammarController() | |
| error | back to summary |
|---|---|
| public void error(Locator[] locs, String msg, Exception nestedException) Overrides com. Implements com.
| |