org.apache.cxf.aegis
Class AegisElementDataWriter
java.lang.Object
org.apache.cxf.aegis.AbstractAegisIoImpl
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>
|
Method Summary |
void |
write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
org.w3c.dom.Element output,
AegisType aegisType)
Write an object to the sink. |
void |
write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
org.w3c.dom.Element output,
java.lang.reflect.Type objectType)
Write an object to the sink, providing a Type to specify
its type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected AegisXMLStreamDataWriter writer
AegisElementDataWriter
public AegisElementDataWriter(AegisContext globalContext)
write
public void write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
org.w3c.dom.Element output,
AegisType 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
write
public void write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
org.w3c.dom.Element output,
java.lang.reflect.Type objectType)
throws java.lang.Exception
- Description copied from interface:
AegisWriter
- Write an object to the sink, providing a
Type to specify
its type.
- Specified by:
write in interface AegisWriter<org.w3c.dom.Element>
- Parameters:
obj - the objectelementName - XML element nameoptional - true if null maps to no output at all.output - where to put it.objectType - A description of the type of the object.
- Throws:
java.lang.Exception
Apache CXF