org.apache.cxf.aegis
Interface AegisWriter<SinkT>
- Type Parameters:
SinkT
-
- All Superinterfaces:
- AegisIo
- All Known Implementing Classes:
- AegisElementDataWriter, AegisXMLStreamDataWriter
public interface AegisWriter<SinkT>
- extends AegisIo
Interface for Aegis writers.
Method Summary |
void |
write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
SinkT output,
Type aegisType)
Write an object to the sink. |
write
void write(java.lang.Object obj,
javax.xml.namespace.QName elementName,
boolean optional,
SinkT output,
Type aegisType)
throws java.lang.Exception
- Write an object to the sink.
- 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