API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.stream. XMLOutputFactory View Source
Author(s)
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
Since
1.6
Version
1.0
Serial
Hierarchy
 Object
      XMLOutputFactory
Implements
Subclasses
Description
publicabstract abstract class XMLOutputFactory
  Defines an abstract implementation of a factory for getting XMLEventWriters and XMLStreamWriters.
Constructors
protected XMLOutputFactory ()
Methods
Hide/Show inherited methods
publicabstract XMLEventWriter createXMLEventWriter (OutputStream stream) throws XMLStreamException
  Create a new XMLEventWriter that writes to a stream
publicabstract XMLEventWriter createXMLEventWriter (OutputStream stream, String encoding) throws XMLStreamException
  Create a new XMLEventWriter that writes to a stream
publicabstract XMLEventWriter createXMLEventWriter (Result result) throws XMLStreamException
  Create a new XMLEventWriter that writes to a JAXP result.
publicabstract XMLEventWriter createXMLEventWriter (Writer stream) throws XMLStreamException
  Create a new XMLEventWriter that writes to a writer
publicabstract XMLStreamWriter createXMLStreamWriter (OutputStream stream) throws XMLStreamException
  Create a new XMLStreamWriter that writes to a stream
publicabstract XMLStreamWriter createXMLStreamWriter (OutputStream stream, String encoding) throws XMLStreamException
  Create a new XMLStreamWriter that writes to a stream
publicabstract XMLStreamWriter createXMLStreamWriter (Result result) throws XMLStreamException
  Create a new XMLStreamWriter that writes to a JAXP result.
publicabstract XMLStreamWriter createXMLStreamWriter (Writer stream) throws XMLStreamException
  Create a new XMLStreamWriter that writes to a writer
publicabstract Object getProperty (String name) throws IllegalArgumentException
  Get a feature/property on the underlying implementation
publicabstract boolean isPropertySupported (String name)
  Query the set of properties that this factory supports.
publicstatic XMLOutputFactory newInstance () throws FactoryConfigurationError
  Create a new instance of the factory.
publicstatic XMLInputFactory newInstance (String factoryId, ClassLoader classLoader) throws FactoryConfigurationError
  Create a new instance of the factory.
publicabstract void setProperty (String name, Object value) throws IllegalArgumentException
  Allows the user to set specific features/properties on the underlying implementation.
Fields
Hide/Show inherited fields
publicfinalstatic String IS_REPAIRING_NAMESPACES = "javax.xml.stream.isRepairingNamespaces"
Property used to set prefix defaulting on the output side
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar