Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.xml.security.utils
Class XMLOutputStreamBase

java.lang.Object
  extended by weblogic.xml.security.utils.XMLOutputStreamBase
All Implemented Interfaces:
NSOutputStream, XMLOutputStream
Direct Known Subclasses:
SecureSoapOutputStream

public abstract class XMLOutputStreamBase
extends Object
implements NSOutputStream


Field Summary
protected  NSOutputStream dest
           
 
Constructor Summary
protected XMLOutputStreamBase()
           
protected XMLOutputStreamBase(XMLOutputStream destination)
           
 
Method Summary
 void add(Attribute attribute)
           
 void add(String markup)
           
 void add(XMLEvent event)
           
 void add(XMLInputStream inputStream)
           
 void addPrefix(String namespaceURI, String prefix)
           
protected abstract  void addXMLEvent(XMLEvent event)
           
protected  void clearLastStart()
           
 void close()
           
 void close(boolean flush)
           
 void flush()
           
 Map getNamespaces()
           
protected  void setDestination(XMLOutputStream destination)
           
protected  void setLastStart(StartElement start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dest

protected NSOutputStream dest
Constructor Detail

XMLOutputStreamBase

protected XMLOutputStreamBase()

XMLOutputStreamBase

protected XMLOutputStreamBase(XMLOutputStream destination)
Method Detail

setDestination

protected void setDestination(XMLOutputStream destination)

addXMLEvent

protected abstract void addXMLEvent(XMLEvent event)
                             throws XMLStreamException
Throws:
XMLStreamException

add

public final void add(XMLEvent event)
               throws XMLStreamException
Specified by:
add in interface XMLOutputStream
Throws:
XMLStreamException

setLastStart

protected void setLastStart(StartElement start)

clearLastStart

protected void clearLastStart()

add

public void add(XMLInputStream inputStream)
         throws XMLStreamException
Specified by:
add in interface XMLOutputStream
Throws:
XMLStreamException

add

public void add(String markup)
         throws XMLStreamException
Specified by:
add in interface XMLOutputStream
Throws:
XMLStreamException

add

public final void add(Attribute attribute)
               throws XMLStreamException
Specified by:
add in interface XMLOutputStream
Throws:
XMLStreamException

close

public void close()
           throws XMLStreamException
Specified by:
close in interface XMLOutputStream
Throws:
XMLStreamException

close

public void close(boolean flush)
           throws XMLStreamException
Specified by:
close in interface XMLOutputStream
Throws:
XMLStreamException

flush

public void flush()
           throws XMLStreamException
Specified by:
flush in interface XMLOutputStream
Throws:
XMLStreamException

addPrefix

public void addPrefix(String namespaceURI,
                      String prefix)
Specified by:
addPrefix in interface NSOutputStream

getNamespaces

public Map getNamespaces()
Specified by:
getNamespaces in interface NSOutputStream

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01