Package __redirected

Class __XMLInputFactory


  • public final class __XMLInputFactory
    extends javax.xml.stream.XMLInputFactory
    A redirected XMLInputFactory
    Author:
    David M. Lloyd, Jason T. Greene
    • Field Summary

      • Fields inherited from class javax.xml.stream.XMLInputFactory

        ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD
    • Constructor Summary

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

      • __XMLInputFactory

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

      • changeDefaultFactory

        public static void changeDefaultFactory​(java.lang.String id,
                                                ModuleLoader loader)
      • init

        @Deprecated
        public static void init()
        Deprecated.
        Init method.
      • restorePlatformFactory

        public static void restorePlatformFactory()
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(java.io.Reader reader)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(javax.xml.transform.Source source)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(java.io.InputStream stream)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(java.io.InputStream stream,
                                                                      java.lang.String encoding)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(java.lang.String systemId,
                                                                      java.io.InputStream stream)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamReader

        public javax.xml.stream.XMLStreamReader createXMLStreamReader​(java.lang.String systemId,
                                                                      java.io.Reader reader)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(java.io.Reader reader)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(java.lang.String systemId,
                                                                    java.io.Reader reader)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(javax.xml.stream.XMLStreamReader reader)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(javax.xml.transform.Source source)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(java.io.InputStream stream)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(java.io.InputStream stream,
                                                                    java.lang.String encoding)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventReader

        public javax.xml.stream.XMLEventReader createXMLEventReader​(java.lang.String systemId,
                                                                    java.io.InputStream stream)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createFilteredReader

        public javax.xml.stream.XMLStreamReader createFilteredReader​(javax.xml.stream.XMLStreamReader reader,
                                                                     javax.xml.stream.StreamFilter filter)
                                                              throws javax.xml.stream.XMLStreamException
        Specified by:
        createFilteredReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createFilteredReader

        public javax.xml.stream.XMLEventReader createFilteredReader​(javax.xml.stream.XMLEventReader reader,
                                                                    javax.xml.stream.EventFilter filter)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createFilteredReader in class javax.xml.stream.XMLInputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • getXMLResolver

        public javax.xml.stream.XMLResolver getXMLResolver()
        Specified by:
        getXMLResolver in class javax.xml.stream.XMLInputFactory
      • setXMLResolver

        public void setXMLResolver​(javax.xml.stream.XMLResolver resolver)
        Specified by:
        setXMLResolver in class javax.xml.stream.XMLInputFactory
      • getXMLReporter

        public javax.xml.stream.XMLReporter getXMLReporter()
        Specified by:
        getXMLReporter in class javax.xml.stream.XMLInputFactory
      • setXMLReporter

        public void setXMLReporter​(javax.xml.stream.XMLReporter reporter)
        Specified by:
        setXMLReporter in class javax.xml.stream.XMLInputFactory
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
                         throws java.lang.IllegalArgumentException
        Specified by:
        setProperty in class javax.xml.stream.XMLInputFactory
        Throws:
        java.lang.IllegalArgumentException
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
                                     throws java.lang.IllegalArgumentException
        Specified by:
        getProperty in class javax.xml.stream.XMLInputFactory
        Throws:
        java.lang.IllegalArgumentException
      • isPropertySupported

        public boolean isPropertySupported​(java.lang.String name)
        Specified by:
        isPropertySupported in class javax.xml.stream.XMLInputFactory
      • setEventAllocator

        public void setEventAllocator​(javax.xml.stream.util.XMLEventAllocator allocator)
        Specified by:
        setEventAllocator in class javax.xml.stream.XMLInputFactory
      • getEventAllocator

        public javax.xml.stream.util.XMLEventAllocator getEventAllocator()
        Specified by:
        getEventAllocator in class javax.xml.stream.XMLInputFactory