org.apache.cxf.aegis
Class AegisXMLStreamDataWriter
java.lang.Object
org.apache.cxf.aegis.AbstractAegisIoImpl
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write
public void write(Object obj,
QName elementName,
boolean optional,
javax.xml.stream.XMLStreamWriter output,
Type aegisType)
throws Exception
- Write an object to the output. This method always writes xsi:type attributes.
- 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 streamaegisType - the aegis type.
- Throws:
Exception
Apache CXF