|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.aegis.databinding.XMLStreamDataReader
public class XMLStreamDataReader
| Field Summary |
|---|
| Fields inherited from interface org.apache.cxf.databinding.BaseDataReader |
|---|
ENDPOINT, FAULT |
| Constructor Summary | |
|---|---|
XMLStreamDataReader(AegisDatabinding databinding,
Bus bus)
|
|
| Method Summary | |
|---|---|
Object |
read(MessagePartInfo part,
javax.xml.stream.XMLStreamReader input)
Read an object from the input, applying additional conventions based on the WSDL message part. |
Object |
read(QName name,
javax.xml.stream.XMLStreamReader input,
Class<?> typeClass)
Read an object from the input. |
Object |
read(javax.xml.stream.XMLStreamReader input)
Read an object from the input. |
void |
setAttachments(Collection<Attachment> attachments)
Attach a collection of attachments to a binding. |
void |
setProperty(String prop,
Object value)
Set an arbitrary property on the reader. |
void |
setSchema(Schema s)
Supply a schema to validate the input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLStreamDataReader(AegisDatabinding databinding,
Bus bus)
| Method Detail |
|---|
public Object read(MessagePartInfo part,
javax.xml.stream.XMLStreamReader input)
DataReader
read in interface DataReader<javax.xml.stream.XMLStreamReader>part - The message part for this item. If null, this API is equivalent to
DataReader.read(Object).input - input source object.
public Object read(QName name,
javax.xml.stream.XMLStreamReader input,
Class<?> typeClass)
DataReader
read in interface DataReader<javax.xml.stream.XMLStreamReader>name - expected element. Generally ignored.input - input source object.typeClass - the type of object required/requested. This is generally used
when the caller wants to receive a raw source object and avoid any binding processing.
For example, passing javax.xml.transform.Source. The bindings do not necessarily throw
if they cannot provide an object of the requested type, and will apply their normal
mapping processing, instead.
public Object read(javax.xml.stream.XMLStreamReader input)
DataReader
read in interface DataReader<javax.xml.stream.XMLStreamReader>input - input source object.
public void setAttachments(Collection<Attachment> attachments)
BaseDataReader
setAttachments in interface BaseDataReaderattachments - attachments.
public void setProperty(String prop,
Object value)
BaseDataReaderBaseDataReader.FAULT and BaseDataReader.ENDPOINT specify two common properties: the Fault object being read
and the Endpoint.
setProperty in interface BaseDataReaderprop - Name of the property.value - Value of the property.public void setSchema(Schema s)
BaseDataReader
setSchema in interface BaseDataReader
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||