org.apache.cxf.aegis
Class AegisElementDataWriter

java.lang.Object
  extended by org.apache.cxf.aegis.AbstractAegisIoImpl
      extended by org.apache.cxf.aegis.AegisElementDataWriter
All Implemented Interfaces:
AegisIo, AegisWriter<org.w3c.dom.Element>

public class AegisElementDataWriter
extends AbstractAegisIoImpl
implements AegisWriter<org.w3c.dom.Element>


Field Summary
protected  AegisXMLStreamDataWriter writer
           
 
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema
 
Constructor Summary
AegisElementDataWriter(AegisContext globalContext)
           
 
Method Summary
 void write(java.lang.Object obj, javax.xml.namespace.QName elementName, boolean optional, org.w3c.dom.Element output, Type aegisType)
          Write an object to the sink.
 
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
 

Field Detail

writer

protected AegisXMLStreamDataWriter writer
Constructor Detail

AegisElementDataWriter

public AegisElementDataWriter(AegisContext globalContext)
Method Detail

write

public void write(java.lang.Object obj,
                  javax.xml.namespace.QName elementName,
                  boolean optional,
                  org.w3c.dom.Element output,
                  Type aegisType)
           throws java.lang.Exception
Description copied from interface: AegisWriter
Write an object to the sink.

Specified by:
write in interface AegisWriter<org.w3c.dom.Element>
Parameters:
obj - The object.
elementName - The element QName.
optional - true to omit for null. (minOccurs=0)
output - The output sink.
aegisType - The aegis type to use. Null is allowed, but only if obj is not null.
Throws:
java.lang.Exception


Apache CXF