SinkT - public interface AegisWriter<SinkT> extends AegisIo
| Modifier and Type | Method and Description |
|---|---|
void |
write(Object obj,
QName elementName,
boolean optional,
SinkT output,
AegisType aegisType)
Write an object to the sink.
|
void |
write(Object obj,
QName elementName,
boolean optional,
SinkT output,
Type objectType)
Write an object to the sink, providing a
Type to specify
its type. |
setProperty, setSchemavoid write(Object obj, QName elementName, boolean optional, SinkT output, AegisType aegisType) throws Exception
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.Exceptionvoid write(Object obj, QName elementName, boolean optional, SinkT output, Type objectType) throws Exception
Type to specify
its type.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.ExceptionApache CXF