Class NodeDataWriter
java.lang.Object
org.apache.cxf.databinding.source.NodeDataWriter
- All Implemented Interfaces:
DataWriter<Node>
-
Field Summary
Fields inherited from interface org.apache.cxf.databinding.DataWriter
ENDPOINT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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 an object to an output sink.
-
Constructor Details
-
NodeDataWriter
public NodeDataWriter()
-
-
Method Details
-
write
Description copied from interface:DataWriter
Write an object to an output sink, including extra processing based on the WSDL service model for a particular message part.- Specified by:
write
in interfaceDataWriter<Node>
- Parameters:
obj
- The object to write.part
- the message part.output
- the output sink.
-
write
Description copied from interface:DataWriter
Write an object to an output sink.- Specified by:
write
in interfaceDataWriter<Node>
- Parameters:
obj
- the object to write.n
- the output sink.
-
setSchema
Description copied from interface:DataWriter
Attach a schema to the writer. If the binding supports validation, it will validate the XML that it produces (assuming that it produces XML).- Specified by:
setSchema
in interfaceDataWriter<Node>
- Parameters:
s
- the schema.
-
setAttachments
Description copied from interface:DataWriter
Attach a collection of attachments to this writer.- Specified by:
setAttachments
in interfaceDataWriter<Node>
-
setProperty
Description copied from interface:DataWriter
Set a property for the writer.- Specified by:
setProperty
in interfaceDataWriter<Node>
- Parameters:
key
- property keyvalue
- property value.
-