Class XMLOutputFactoryBase


  • public class XMLOutputFactoryBase
    extends javax.xml.stream.XMLOutputFactory

    Creates instances of the various interfaces for XML output

    • Field Summary

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

        IS_REPAIRING_NAMESPACES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.OutputStream stream)  
      javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.OutputStream stream, java.lang.String encoding)  
      javax.xml.stream.XMLEventWriter createXMLEventWriter​(java.io.Writer stream)  
      javax.xml.stream.XMLEventWriter createXMLEventWriter​(javax.xml.transform.Result result)  
      javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.OutputStream stream)  
      javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.OutputStream stream, java.lang.String encoding)  
      javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(java.io.Writer stream)  
      javax.xml.stream.XMLStreamWriter createXMLStreamWriter​(javax.xml.transform.Result result)  
      java.lang.Object getProperty​(java.lang.String name)  
      boolean isPrefixDefaulting()  
      boolean isPropertySupported​(java.lang.String name)  
      void setPrefixDefaulting​(boolean value)  
      void setProperty​(java.lang.String name, java.lang.Object value)  
      • Methods inherited from class javax.xml.stream.XMLOutputFactory

        newDefaultFactory, newFactory, newFactory, newInstance, newInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLOutputFactoryBase

        public XMLOutputFactoryBase()
    • Method Detail

      • 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
      • 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.Writer 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
      • setProperty

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

        public java.lang.Object getProperty​(java.lang.String name)
        Specified by:
        getProperty in class javax.xml.stream.XMLOutputFactory
      • isPrefixDefaulting

        public boolean isPrefixDefaulting()
      • setPrefixDefaulting

        public void setPrefixDefaulting​(boolean value)
      • isPropertySupported

        public boolean isPropertySupported​(java.lang.String name)
        Specified by:
        isPropertySupported in class javax.xml.stream.XMLOutputFactory
      • 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