public abstract class BaseSchemaFactory
extends org.codehaus.stax2.validation.XMLValidationSchemaFactory
| Modifier and Type | Field and Description | 
|---|---|
| protected ValidatorConfig | mConfigCurrent configurations for this factory | 
| protected static SAXParserFactory | sSaxFactory | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BaseSchemaFactory(String schemaType) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.codehaus.stax2.validation.XMLValidationSchema | createSchema(File f) | 
| org.codehaus.stax2.validation.XMLValidationSchema | createSchema(InputStream in,
            String encoding,
            String publicId,
            String systemId) | 
| org.codehaus.stax2.validation.XMLValidationSchema | createSchema(Reader r,
            String publicId,
            String systemId) | 
| org.codehaus.stax2.validation.XMLValidationSchema | createSchema(URL url) | 
| Object | getProperty(String propName) | 
| protected static SAXParserFactory | getSaxFactory()We will essentially share a singleton sax parser factory;
 the reason being that constructing (or, rather, locating
 implementation class) is bit expensive. | 
| boolean | isPropertySupported(String propName) | 
| protected abstract org.codehaus.stax2.validation.XMLValidationSchema | loadSchema(InputSource src,
          Object sysRef) | 
| boolean | setProperty(String propName,
           Object value) | 
protected static SAXParserFactory sSaxFactory
protected final ValidatorConfig mConfig
protected BaseSchemaFactory(String schemaType)
public boolean isPropertySupported(String propName)
isPropertySupported in class org.codehaus.stax2.validation.XMLValidationSchemaFactorypublic boolean setProperty(String propName, Object value)
setProperty in class org.codehaus.stax2.validation.XMLValidationSchemaFactorypublic Object getProperty(String propName)
getProperty in class org.codehaus.stax2.validation.XMLValidationSchemaFactorypublic org.codehaus.stax2.validation.XMLValidationSchema createSchema(InputStream in, String encoding, String publicId, String systemId) throws XMLStreamException
createSchema in class org.codehaus.stax2.validation.XMLValidationSchemaFactoryXMLStreamExceptionpublic org.codehaus.stax2.validation.XMLValidationSchema createSchema(Reader r, String publicId, String systemId) throws XMLStreamException
createSchema in class org.codehaus.stax2.validation.XMLValidationSchemaFactoryXMLStreamExceptionpublic org.codehaus.stax2.validation.XMLValidationSchema createSchema(URL url) throws XMLStreamException
createSchema in class org.codehaus.stax2.validation.XMLValidationSchemaFactoryXMLStreamExceptionpublic org.codehaus.stax2.validation.XMLValidationSchema createSchema(File f) throws XMLStreamException
createSchema in class org.codehaus.stax2.validation.XMLValidationSchemaFactoryXMLStreamExceptionprotected abstract org.codehaus.stax2.validation.XMLValidationSchema loadSchema(InputSource src, Object sysRef) throws XMLStreamException
XMLStreamExceptionprotected static SAXParserFactory getSaxFactory()
Copyright © 2018 FasterXML. All rights reserved.