Package __redirected

Class __XMLOutputFactory


  • public final class __XMLOutputFactory
    extends javax.xml.stream.XMLOutputFactory
    A redirected XMLOutputFactory
    Author:
    David M. Lloyd, Jason T. Greene
    • Constructor Detail

      • __XMLOutputFactory

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

      • 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.
      • createXMLStreamWriter

        public javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.Writer stream)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamWriter

        public javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.OutputStream stream)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamWriter

        public javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.OutputStream stream,
                                                                      java.lang.String encoding)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLStreamWriter

        public javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(javax.xml.transform.Result result)
                                                               throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventWriter

        public javax.xml.stream.XMLEventWriter createXMLEventWriter​(javax.xml.transform.Result result)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventWriter

        public javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.OutputStream stream)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventWriter

        public javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.OutputStream stream,
                                                                    java.lang.String encoding)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • createXMLEventWriter

        public javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.Writer stream)
                                                             throws javax.xml.stream.XMLStreamException
        Specified by:
        createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
        Throws:
        javax.xml.stream.XMLStreamException
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
                         throws java.lang.IllegalArgumentException
        Specified by:
        setProperty in class javax.xml.stream.XMLOutputFactory
        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.XMLOutputFactory
        Throws:
        java.lang.IllegalArgumentException
      • isPropertySupported

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