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(Object obj,
QName elementName,
boolean optional,
SinkT output,
Type aegisType)
Write an object to the sink. |
write
void write(Object obj,
QName elementName,
boolean optional,
SinkT output,
Type aegisType)
throws 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:
Exception
Apache CXF