|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.xmlbeans.DataWriterImpl
public class DataWriterImpl
Field Summary |
---|
Fields inherited from interface org.apache.cxf.databinding.DataWriter |
---|
ENDPOINT |
Constructor Summary | |
---|---|
DataWriterImpl()
|
Method Summary | |
---|---|
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 schema)
Attach a schema to the writer. |
void |
write(Object obj,
MessagePartInfo part,
XMLStreamWriter 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,
XMLStreamWriter output)
Write an object to an output sink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataWriterImpl()
Method Detail |
---|
public void write(Object obj, XMLStreamWriter output)
DataWriter
write
in interface DataWriter<XMLStreamWriter>
obj
- the object to write.output
- the output sink.public void write(Object obj, MessagePartInfo part, XMLStreamWriter output)
DataWriter
write
in interface DataWriter<XMLStreamWriter>
obj
- The object to write.part
- the message part.output
- the output sink.public void setAttachments(Collection<Attachment> attachments)
DataWriter
setAttachments
in interface DataWriter<XMLStreamWriter>
public void setProperty(String key, Object value)
DataWriter
setProperty
in interface DataWriter<XMLStreamWriter>
key
- property keyvalue
- property value.public void setSchema(Schema schema)
DataWriter
setSchema
in interface DataWriter<XMLStreamWriter>
schema
- the schema.
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |