|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.jaxb.JAXBDataBase
org.apache.cxf.jaxb.io.DataReaderImpl<T>
public class DataReaderImpl<T>
Field Summary |
---|
Fields inherited from class org.apache.cxf.jaxb.JAXBDataBase |
---|
attachments, context, mtomThreshold, schema, unwrapJAXBElement |
Fields inherited from interface org.apache.cxf.databinding.DataReader |
---|
ENDPOINT, FAULT |
Constructor Summary | |
---|---|
DataReaderImpl(JAXBDataBinding binding)
|
Method Summary | |
---|---|
java.lang.Object |
read(MessagePartInfo part,
T reader)
Read an object from the input, applying additional conventions based on the WSDL message part. |
java.lang.Object |
read(javax.xml.namespace.QName name,
T input,
java.lang.Class type)
Read an object from the input. |
java.lang.Object |
read(T input)
Read an object from the input. |
Methods inherited from class org.apache.cxf.jaxb.JAXBDataBase |
---|
getAttachmentMarshaller, getAttachments, getAttachmentUnmarshaller, getJAXBAnnotation, getJAXBContext, getMtomThreshold, getSchema, setAttachments, setJAXBContext, setMtomThreshold, setProperty, setSchema |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cxf.databinding.DataReader |
---|
setAttachments, setProperty, setSchema |
Constructor Detail |
---|
public DataReaderImpl(JAXBDataBinding binding)
Method Detail |
---|
public java.lang.Object read(T input)
DataReader
read
in interface DataReader<T>
input
- input source object.
public java.lang.Object read(MessagePartInfo part, T reader)
DataReader
read
in interface DataReader<T>
part
- The message part for this item. If null, this API is equivalent to
DataReader.read(Object)
.reader
- input source object.
public java.lang.Object read(javax.xml.namespace.QName name, T input, java.lang.Class type)
DataReader
read
in interface DataReader<T>
name
- expected element. Generally ignored.input
- input source object.type
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |