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

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

public class JAXBBlockContext
extends java.lang.Object


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
 JAXBUtils.CONSTRUCTION_TYPE getConstructionType()
           
 java.util.TreeSet<java.lang.String> getContextPackages()
           
 javax.xml.bind.JAXBContext getJAXBContext()
           
 java.lang.Class getProcessType()
           
 boolean isxmlList()
           
 void setIsxmlList(boolean isxmlList)
           
 void setProcessType(java.lang.Class type)
          Set RPC Declared Type.
 
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

getContextPackages

public java.util.TreeSet<java.lang.String> getContextPackages()
Returns:
Class representing type of the element

getJAXBContext

public javax.xml.bind.JAXBContext getJAXBContext()
                                          throws javax.xml.bind.JAXBException
Returns:
get the JAXBContext
Throws:
javax.xml.bind.JAXBException

getProcessType

public java.lang.Class getProcessType()
Returns:
RPC Declared Type

setProcessType

public void setProcessType(java.lang.Class type)
Set RPC Declared Type. The use of use this property if the message is style=document is discouraged.

Parameters:
type -

getConstructionType

public JAXBUtils.CONSTRUCTION_TYPE getConstructionType()

isxmlList

public boolean isxmlList()

setIsxmlList

public void setIsxmlList(boolean isxmlList)


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