Package __redirected

Class __SchemaFactory


  • public final class __SchemaFactory
    extends javax.xml.validation.SchemaFactory
    A redirected SchemaFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.xml.validation.SchemaFactory actual  
      private static java.lang.reflect.Constructor<? extends javax.xml.validation.SchemaFactory> DEFAULT_FACTORY  
      private static java.lang.reflect.Constructor<? extends javax.xml.validation.SchemaFactory> PLATFORM_FACTORY  
    • Constructor Summary

      Constructors 
      Constructor Description
      __SchemaFactory()
      Construct a new instance.
    • Field Detail

      • PLATFORM_FACTORY

        private static final java.lang.reflect.Constructor<? extends javax.xml.validation.SchemaFactory> PLATFORM_FACTORY
      • DEFAULT_FACTORY

        private static volatile java.lang.reflect.Constructor<? extends javax.xml.validation.SchemaFactory> DEFAULT_FACTORY
      • actual

        private final javax.xml.validation.SchemaFactory actual
    • Constructor Detail

      • __SchemaFactory

        public __SchemaFactory()
        Construct a new instance.
    • Method Detail

      • restorePlatformFactory

        public static void restorePlatformFactory()
      • init

        public static void init()
        Init method.
      • isSchemaLanguageSupported

        public boolean isSchemaLanguageSupported​(java.lang.String objectModel)
        Specified by:
        isSchemaLanguageSupported in class javax.xml.validation.SchemaFactory
      • getFeature

        public boolean getFeature​(java.lang.String name)
                           throws org.xml.sax.SAXNotRecognizedException,
                                  org.xml.sax.SAXNotSupportedException
        Overrides:
        getFeature in class javax.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 class javax.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 class javax.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 class javax.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 class javax.xml.validation.SchemaFactory
      • getErrorHandler

        public org.xml.sax.ErrorHandler getErrorHandler()
        Specified by:
        getErrorHandler in class javax.xml.validation.SchemaFactory
      • setResourceResolver

        public void setResourceResolver​(org.w3c.dom.ls.LSResourceResolver resourceResolver)
        Specified by:
        setResourceResolver in class javax.xml.validation.SchemaFactory
      • getResourceResolver

        public org.w3c.dom.ls.LSResourceResolver getResourceResolver()
        Specified by:
        getResourceResolver in class javax.xml.validation.SchemaFactory
      • newSchema

        public javax.xml.validation.Schema newSchema​(javax.xml.transform.Source schema)
                                              throws org.xml.sax.SAXException
        Overrides:
        newSchema in class javax.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 class javax.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 class javax.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 class javax.xml.validation.SchemaFactory
        Throws:
        org.xml.sax.SAXException
      • newSchema

        public javax.xml.validation.Schema newSchema()
                                              throws org.xml.sax.SAXException
        Specified by:
        newSchema in class javax.xml.validation.SchemaFactory
        Throws:
        org.xml.sax.SAXException