public class NodeDataWriter extends Object implements DataWriter<Node>
ENDPOINT| Constructor and Description |
|---|
NodeDataWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAttachments(Collection<Attachment> attachments)
Attach a collection of attachments to this writer.
|
void |
setProperty(String key,
Object value)
Set a property for the writer.
|
void |
setSchema(Schema s)
Attach a schema to the writer.
|
void |
write(Object obj,
MessagePartInfo part,
Node output)
Write an object to an output sink, including extra processing based on the WSDL
service model for a particular message part.
|
void |
write(Object obj,
Node n)
Write an object to an output sink.
|
public void write(Object obj, MessagePartInfo part, Node output)
DataWriterwrite in interface DataWriter<Node>obj - The object to write.part - the message part.output - the output sink.public void write(Object obj, Node n)
DataWriterwrite in interface DataWriter<Node>obj - the object to write.n - the output sink.public void setSchema(Schema s)
DataWritersetSchema in interface DataWriter<Node>s - the schema.public void setAttachments(Collection<Attachment> attachments)
DataWritersetAttachments in interface DataWriter<Node>public void setProperty(String key, Object value)
DataWritersetProperty in interface DataWriter<Node>key - property keyvalue - property value.Apache CXF