|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.xml.stream.XMLOutputStreamFactory
Defines an abstract implementation of a factory for getting output streams
XMLOutputStream
Constructor Summary | |
XMLOutputStreamFactory()
|
Method Summary | |
abstract XMLOutputStream |
newDebugOutputStream(java.io.OutputStream stream)
Create a new XMLOutputStream that writes to a stream that pretty prints it's output |
abstract XMLOutputStream |
newDebugOutputStream(java.io.Writer writer)
Create a new XMLOutputStream that writes to a writer that pretty prints it's output |
abstract XMLInputOutputStream |
newInputOutputStream()
Create a new XMLInputOutputStream that can be passed into a method that takes an XMLOutputStream and read from like an XMLInputStream |
static XMLOutputStreamFactory |
newInstance()
Create a new instance of the factory. |
abstract XMLOutputStream |
newOutputStream(org.xml.sax.ContentHandler handler)
Create a new XMLOutputStream that writes to a SAX ContentHandler |
abstract XMLOutputStream |
newOutputStream(org.w3c.dom.Document document)
Create a new XMLOutputStream that writes to a DOM document |
abstract XMLOutputStream |
newOutputStream(org.w3c.dom.Document document,
org.w3c.dom.DocumentFragment documentFragment)
Create a new XMLOutputStream that writes to a DOM document fragment |
abstract XMLOutputStream |
newOutputStream(java.io.OutputStream stream)
Create a new XMLOutputStream that writes to a stream |
abstract XMLOutputStream |
newOutputStream(java.io.Writer writer)
Create a new XMLOutputStream that writes to a writer |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XMLOutputStreamFactory()
Method Detail |
public static XMLOutputStreamFactory newInstance()
public abstract XMLOutputStream newOutputStream(java.io.OutputStream stream) throws XMLStreamException
stream
- the stream to write topublic abstract XMLOutputStream newOutputStream(java.io.Writer writer) throws XMLStreamException
writer
- the writer to write topublic abstract XMLOutputStream newOutputStream(org.w3c.dom.Document document) throws XMLStreamException
document
- the Document to write topublic abstract XMLOutputStream newOutputStream(org.w3c.dom.Document document, org.w3c.dom.DocumentFragment documentFragment) throws XMLStreamException
document
- the Document the document fragment was created fromdocumentFragment
- the DocumentFragment to write topublic abstract XMLOutputStream newOutputStream(org.xml.sax.ContentHandler handler) throws XMLStreamException
handler
- the user provided content handler to call back as events are added to the output streampublic abstract XMLOutputStream newDebugOutputStream(java.io.OutputStream stream) throws XMLStreamException
stream
- the stream to write topublic abstract XMLOutputStream newDebugOutputStream(java.io.Writer writer) throws XMLStreamException
stream
- the stream to write topublic abstract XMLInputOutputStream newInputOutputStream() throws XMLStreamException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |