|
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.aegis.databinding.XMLStreamDataWriter
public class XMLStreamDataWriter
Field Summary |
---|
Fields inherited from interface org.apache.cxf.databinding.DataWriter |
---|
ENDPOINT |
Constructor Summary | |
---|---|
XMLStreamDataWriter(AegisDatabinding databinding,
Bus bus)
|
Method Summary | |
---|---|
Object |
getProperty(String key)
|
void |
setAttachments(Collection<Attachment> attachments)
Attach a collection of attachments to this writer. |
void |
setProperty(String prop,
Object value)
Set a property for the writer. |
void |
setSchema(Schema s)
Attach a schema to the writer. |
void |
write(Object obj,
MessagePartInfo part,
javax.xml.stream.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,
javax.xml.stream.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 XMLStreamDataWriter(AegisDatabinding databinding, Bus bus)
Method Detail |
---|
public void setAttachments(Collection<Attachment> attachments)
BaseDataWriter
setAttachments
in interface BaseDataWriter
public void setSchema(Schema s)
BaseDataWriter
setSchema
in interface BaseDataWriter
s
- the schema.public void write(Object obj, MessagePartInfo part, javax.xml.stream.XMLStreamWriter output)
DataWriter
write
in interface DataWriter<javax.xml.stream.XMLStreamWriter>
obj
- The object to write.part
- the message part.output
- the output sink.public void write(Object obj, javax.xml.stream.XMLStreamWriter output)
DataWriter
write
in interface DataWriter<javax.xml.stream.XMLStreamWriter>
obj
- the object to write.output
- the output sink.public void setProperty(String prop, Object value)
BaseDataWriter
setProperty
in interface BaseDataWriter
prop
- property keyvalue
- property value.public Object getProperty(String key)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |