org.apache.cxf.aegis
Class AegisXMLStreamDataWriter

java.lang.Object
  extended by org.apache.cxf.aegis.AbstractAegisIoImpl
      extended by org.apache.cxf.aegis.AegisXMLStreamDataWriter
All Implemented Interfaces:
AegisIo, AegisWriter<javax.xml.stream.XMLStreamWriter>

public class AegisXMLStreamDataWriter
extends AbstractAegisIoImpl
implements AegisWriter<javax.xml.stream.XMLStreamWriter>


Field Summary
 
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema
 
Method Summary
 void write(java.lang.Object obj, javax.xml.namespace.QName elementName, boolean optional, javax.xml.stream.XMLStreamWriter output, Type aegisType)
          Write an object to the output.
 
Methods inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
getContext, setProperty, setSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.aegis.AegisIo
setProperty, setSchema
 

Method Detail

write

public void write(java.lang.Object obj,
                  javax.xml.namespace.QName elementName,
                  boolean optional,
                  javax.xml.stream.XMLStreamWriter output,
                  Type aegisType)
           throws java.lang.Exception
Write an object to the output.

Specified by:
write in interface AegisWriter<javax.xml.stream.XMLStreamWriter>
Parameters:
obj - The object to write.
elementName - the QName of the XML Element.
optional - set this for minOccurs = 0. It omits null elements.
output - the output stream
aegisType - the aegis type.
Throws:
java.lang.Exception


Apache CXF