org.apache.axis2.jaxws.message.databinding
Class JAXBBlockContext

java.lang.Object
  extended by org.apache.axis2.datasource.jaxb.JAXBDSContext
      extended by org.apache.axis2.jaxws.message.databinding.JAXBBlockContext

public class JAXBBlockContext
extends JAXBDSContext


Field Summary
 
Fields inherited from class org.apache.axis2.datasource.jaxb.JAXBDSContext
DEBUG_ENABLED
 
Constructor Summary
JAXBBlockContext(javax.xml.bind.JAXBContext jaxbContext)
          "Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the customer.
JAXBBlockContext(java.lang.String contextPackage)
          Deprecated.  
JAXBBlockContext(java.util.TreeSet<java.lang.String> packages)
          Slightly slower constructor
JAXBBlockContext(java.util.TreeSet<java.lang.String> packages, java.lang.String packagesKey)
          Full Constructor JAXBBlockContext (most performant)
 
Method Summary
protected  javax.xml.bind.attachment.AttachmentMarshaller createAttachmentMarshaller(javax.xml.stream.XMLStreamWriter writer)
          Create an AttachmentMarshaller to marshal MTOM/SWA Attachments
protected  javax.xml.bind.attachment.AttachmentUnmarshaller createAttachmentUnmarshaller()
          Create an Attachment unmarshaller for unmarshalling MTOM/SWA Attachments
 java.lang.ClassLoader getClassLoader()
           
 Message getMessage()
           
 MessageContext getMessageContext()
           
 void setMessage(Message message)
           
 
Methods inherited from class org.apache.axis2.datasource.jaxb.JAXBDSContext
getConstructionType, getContextPackages, getJAXBContext, getJAXBContext, getProcessType, isxmlList, marshal, setIsxmlList, setMessageContext, setProcessType, unmarshal, unmarshalAsListOrArray, unmarshalByElement, unmarshalByType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBBlockContext

public JAXBBlockContext(java.util.TreeSet<java.lang.String> packages,
                        java.lang.String packagesKey)
Full Constructor JAXBBlockContext (most performant)

Parameters:
packages - Set of packages needed by the JAXBContext.

JAXBBlockContext

public JAXBBlockContext(java.util.TreeSet<java.lang.String> packages)
Slightly slower constructor

Parameters:
packages -

JAXBBlockContext

public JAXBBlockContext(java.lang.String contextPackage)
Deprecated. 

Normal Constructor JAXBBlockContext

Parameters:
contextPackage -

JAXBBlockContext

public JAXBBlockContext(javax.xml.bind.JAXBContext jaxbContext)
"Dispatch" Constructor Use this full constructor when the JAXBContent is provided by the customer.

Parameters:
jaxbContext -
Method Detail

getMessage

public Message getMessage()

setMessage

public void setMessage(Message message)

createAttachmentMarshaller

protected javax.xml.bind.attachment.AttachmentMarshaller createAttachmentMarshaller(javax.xml.stream.XMLStreamWriter writer)
Description copied from class: JAXBDSContext
Create an AttachmentMarshaller to marshal MTOM/SWA Attachments

Overrides:
createAttachmentMarshaller in class JAXBDSContext
Returns:

createAttachmentUnmarshaller

protected javax.xml.bind.attachment.AttachmentUnmarshaller createAttachmentUnmarshaller()
Description copied from class: JAXBDSContext
Create an Attachment unmarshaller for unmarshalling MTOM/SWA Attachments

Overrides:
createAttachmentUnmarshaller in class JAXBDSContext
Returns:
AttachmentUnmarshaller

getClassLoader

public java.lang.ClassLoader getClassLoader()
Overrides:
getClassLoader in class JAXBDSContext

getMessageContext

public MessageContext getMessageContext()
Overrides:
getMessageContext in class JAXBDSContext


Copyright © 2007 Apache Web Services Project. All Rights Reserved.