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)
DataWriter
write
in interface DataWriter<Node>
obj
- The object to write.part
- the message part.output
- the output sink.public void write(Object obj, Node n)
DataWriter
write
in interface DataWriter<Node>
obj
- the object to write.n
- the output sink.public void setSchema(Schema s)
DataWriter
setSchema
in interface DataWriter<Node>
s
- the schema.public void setAttachments(Collection<Attachment> attachments)
DataWriter
setAttachments
in interface DataWriter<Node>
public void setProperty(String key, Object value)
DataWriter
setProperty
in interface DataWriter<Node>
key
- property keyvalue
- property value.Apache CXF