Package __redirected
Class __SchemaFactory
- java.lang.Object
-
- javax.xml.validation.SchemaFactory
-
- __redirected.__SchemaFactory
-
public final class __SchemaFactory extends javax.xml.validation.SchemaFactory
A redirected SchemaFactory- Author:
- Jason T. Greene
-
-
Constructor Summary
Constructors Constructor Description __SchemaFactory()
Construct a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
changeDefaultFactory(java.lang.String id, ModuleLoader loader)
static void
changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.org.xml.sax.ErrorHandler
getErrorHandler()
boolean
getFeature(java.lang.String name)
java.lang.Object
getProperty(java.lang.String name)
org.w3c.dom.ls.LSResourceResolver
getResourceResolver()
static void
init()
Deprecated.boolean
isSchemaLanguageSupported(java.lang.String objectModel)
javax.xml.validation.Schema
newSchema()
javax.xml.validation.Schema
newSchema(java.io.File schema)
javax.xml.validation.Schema
newSchema(java.net.URL schema)
javax.xml.validation.Schema
newSchema(javax.xml.transform.Source schema)
javax.xml.validation.Schema
newSchema(javax.xml.transform.Source[] schemas)
static void
restorePlatformFactory()
void
setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
void
setFeature(java.lang.String name, boolean value)
void
setProperty(java.lang.String name, java.lang.Object object)
void
setResourceResolver(org.w3c.dom.ls.LSResourceResolver resourceResolver)
-
-
-
Method Detail
-
changeDefaultFactory
@Deprecated public static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.
-
changeDefaultFactory
public static void changeDefaultFactory(java.lang.String id, ModuleLoader loader)
-
restorePlatformFactory
public static void restorePlatformFactory()
-
init
@Deprecated public static void init()
Deprecated.Init method.
-
isSchemaLanguageSupported
public boolean isSchemaLanguageSupported(java.lang.String objectModel)
- Specified by:
isSchemaLanguageSupported
in classjavax.xml.validation.SchemaFactory
-
getFeature
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Overrides:
getFeature
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws org.xml.sax.SAXNotSupportedException, org.xml.sax.SAXNotRecognizedException
- Overrides:
setFeature
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object object) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Overrides:
setProperty
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Overrides:
getProperty
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
- Specified by:
setErrorHandler
in classjavax.xml.validation.SchemaFactory
-
getErrorHandler
public org.xml.sax.ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in classjavax.xml.validation.SchemaFactory
-
setResourceResolver
public void setResourceResolver(org.w3c.dom.ls.LSResourceResolver resourceResolver)
- Specified by:
setResourceResolver
in classjavax.xml.validation.SchemaFactory
-
getResourceResolver
public org.w3c.dom.ls.LSResourceResolver getResourceResolver()
- Specified by:
getResourceResolver
in classjavax.xml.validation.SchemaFactory
-
newSchema
public javax.xml.validation.Schema newSchema(javax.xml.transform.Source schema) throws org.xml.sax.SAXException
- Overrides:
newSchema
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXException
-
newSchema
public javax.xml.validation.Schema newSchema(java.io.File schema) throws org.xml.sax.SAXException
- Overrides:
newSchema
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXException
-
newSchema
public javax.xml.validation.Schema newSchema(java.net.URL schema) throws org.xml.sax.SAXException
- Overrides:
newSchema
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXException
-
newSchema
public javax.xml.validation.Schema newSchema(javax.xml.transform.Source[] schemas) throws org.xml.sax.SAXException
- Specified by:
newSchema
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXException
-
newSchema
public javax.xml.validation.Schema newSchema() throws org.xml.sax.SAXException
- Specified by:
newSchema
in classjavax.xml.validation.SchemaFactory
- Throws:
org.xml.sax.SAXException
-
-