|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.stream.XMLOutputFactory
com.bea.xml.stream.XMLOutputFactoryBase
public class XMLOutputFactoryBase
Creates instances of the various interfaces for XML output
Field Summary |
---|
Fields inherited from class javax.xml.stream.XMLOutputFactory |
---|
IS_REPAIRING_NAMESPACES |
Constructor Summary | |
---|---|
XMLOutputFactoryBase()
|
Method Summary | |
---|---|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream stream)
Create a new XMLEventWriter that writes to a stream |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream stream,
java.lang.String encoding)
Create a new XMLEventWriter that writes to a stream |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(javax.xml.transform.Result result)
Create a new XMLEventWriter that writes to a JAXP result. |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.Writer stream)
Create a new XMLEventWriter that writes to a writer |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream stream)
Create a new XMLStreamWriter that writes to a stream |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream stream,
java.lang.String encoding)
Create a new XMLStreamWriter that writes to a stream |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(javax.xml.transform.Result result)
Create a new XMLStreamWriter that writes to a JAXP result. |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.Writer stream)
Create a new XMLStreamWriter that writes to a writer |
java.lang.Object |
getProperty(java.lang.String name)
Get a feature/property on the underlying implementation |
boolean |
isPrefixDefaulting()
|
boolean |
isPropertySupported(java.lang.String name)
Query the set of properties that this factory supports. |
static javax.xml.stream.XMLOutputFactory |
newInstance()
|
void |
setPrefixDefaulting(boolean value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Allows the user to set specific features/properties on the underlying implementation. |
Methods inherited from class javax.xml.stream.XMLOutputFactory |
---|
newInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLOutputFactoryBase()
Method Detail |
---|
public static javax.xml.stream.XMLOutputFactory newInstance()
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer stream) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the writer to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the stream to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream, java.lang.String encoding) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the stream to write toencoding
- the encoding to use
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the stream to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer stream) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the stream to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream, java.lang.String encoding) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
stream
- the stream to write toencoding
- the encoding to use
javax.xml.stream.XMLStreamException
public void setProperty(java.lang.String name, java.lang.Object value)
javax.xml.stream.XMLOutputFactory
setProperty
in class javax.xml.stream.XMLOutputFactory
name
- The name of the propertyvalue
- The value of the propertypublic java.lang.Object getProperty(java.lang.String name)
javax.xml.stream.XMLOutputFactory
getProperty
in class javax.xml.stream.XMLOutputFactory
name
- The name of the property
public boolean isPrefixDefaulting()
public void setPrefixDefaulting(boolean value)
public boolean isPropertySupported(java.lang.String name)
javax.xml.stream.XMLOutputFactory
isPropertySupported
in class javax.xml.stream.XMLOutputFactory
name
- The name of the property (may not be null)
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
result
- the result to write to
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLOutputFactory
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
result
- the result to write to
javax.xml.stream.XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |