2016/05/28 - Apache Tuscany has been retired. 
For more information, please explore the Attic. 
 
org.apache.tuscany.sca.databinding.jaxb.axiom.ext
Class JAXBDSContext
java.lang.Object
  
org.apache.tuscany.sca.databinding.jaxb.axiom.ext.JAXBDSContext
public class JAXBDSContext
- extends java.lang.Object
 
| 
Constructor Summary | 
JAXBDSContext(javax.xml.bind.JAXBContext jaxbContext)
 
          "Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the
 customer. | 
 
| 
Method Summary | 
 javax.xml.bind.JAXBContext | 
getJAXBContext()
 
            | 
 void | 
marshal(java.lang.Object obj,
        javax.xml.stream.XMLStreamWriter writer)
 
          Marshal the jaxb object | 
 java.lang.Object | 
unmarshal(javax.xml.stream.XMLStreamReader reader)
 
          Unmarshal the xml into a JAXB object | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAXBDSContext
public JAXBDSContext(javax.xml.bind.JAXBContext jaxbContext)
- "Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the
 customer.
- Parameters:
 jaxbContext - 
 
getJAXBContext
public javax.xml.bind.JAXBContext getJAXBContext()
 
unmarshal
public java.lang.Object unmarshal(javax.xml.stream.XMLStreamReader reader)
                           throws javax.xml.bind.JAXBException
- Unmarshal the xml into a JAXB object
- Parameters:
 reader - 
- Returns:
 - 
 - Throws:
 javax.xml.bind.JAXBException
 
 
marshal
public void marshal(java.lang.Object obj,
                    javax.xml.stream.XMLStreamWriter writer)
             throws javax.xml.bind.JAXBException
- Marshal the jaxb object
- Parameters:
 obj - writer - am - AttachmentMarshaller, optional Attachment
- Throws:
 javax.xml.bind.JAXBException