Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.wsdl
Class JAXBExtensionHelper

    java.lang.Object
      org.apache.cxf.wsdl.JAXBExtensionHelper

All Implemented Interfaces:
  javax.wsdl.extensions.ExtensionDeserializer, javax.wsdl.extensions.ExtensionSerializer

    public class JAXBExtensionHelper

extends Object
implements javax.wsdl.extensions.ExtensionSerializer, javax.wsdl.extensions.ExtensionDeserializer

JAXBExtensionHelper

Author:
  dkulp

Constructor Summary
`JAXBExtensionHelper(Class<? extends javax.wsdl.extensions.ExtensibilityElement> cls, String ns)`

Method Summary
`static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, Class<?> parentType, Class<? extends javax.wsdl.extensions.ExtensibilityElement> cls, String namespace)`
`static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, Class<?> parentType, Class<? extends TExtensibilityElementImpl> cls)`
`static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, String parentType, String elementType)`
`static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, String parentType, String elementType, String namespace)`
`protected void` | `createJAXBContext()`
`protected javax.xml.bind.JAXBContext` | `getJAXBContext()`
`void` | `marshall(Class parent, QName qname, javax.wsdl.extensions.ExtensibilityElement obj, PrintWriter pw, javax.wsdl.Definition wsdl, javax.wsdl.extensions.ExtensionRegistry registry)`
`javax.wsdl.extensions.ExtensibilityElement` | `unmarshall(Class parent, QName qname, Element element, javax.wsdl.Definition wsdl, javax.wsdl.extensions.ExtensionRegistry registry)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JAXBExtensionHelper

    public JAXBExtensionHelper(Class<? extends javax.wsdl.extensions.ExtensibilityElement> cls,
                               String ns)

Method Detail

### addExtensions

    public static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry,
                                     String parentType,
                                     String elementType)
                              throws javax.xml.bind.JAXBException,
                                     ClassNotFoundException

  Throws:
    `javax.xml.bind.JAXBException`
    `ClassNotFoundException`

### addExtensions

    public static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry,
                                     String parentType,
                                     String elementType,
                                     String namespace)
                              throws javax.xml.bind.JAXBException,
                                     ClassNotFoundException

  Throws:
    `javax.xml.bind.JAXBException`
    `ClassNotFoundException`

### addExtensions

    public static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry,
                                     Class<?> parentType,
                                     Class<? extends TExtensibilityElementImpl> cls)
                              throws javax.xml.bind.JAXBException

  Throws:
    `javax.xml.bind.JAXBException`

### addExtensions

    public static void addExtensions(javax.wsdl.extensions.ExtensionRegistry registry,
                                     Class<?> parentType,
                                     Class<? extends javax.wsdl.extensions.ExtensibilityElement> cls,
                                     String namespace)
                              throws javax.xml.bind.JAXBException

  Throws:
    `javax.xml.bind.JAXBException`

### getJAXBContext

    protected javax.xml.bind.JAXBContext getJAXBContext()

### createJAXBContext

    protected void createJAXBContext()
                              throws javax.xml.bind.JAXBException

  Throws:
    `javax.xml.bind.JAXBException`

### marshall

    public void marshall(Class parent,
                         QName qname,
                         javax.wsdl.extensions.ExtensibilityElement obj,
                         PrintWriter pw,
                         javax.wsdl.Definition wsdl,
                         javax.wsdl.extensions.ExtensionRegistry registry)
                  throws javax.wsdl.WSDLException

  Specified by:
    `marshall` in interface `javax.wsdl.extensions.ExtensionSerializer`
  Throws:
    `javax.wsdl.WSDLException`

### unmarshall

    public javax.wsdl.extensions.ExtensibilityElement unmarshall(Class parent,
                                                                 QName qname,
                                                                 Element element,
                                                                 javax.wsdl.Definition wsdl,
                                                                 javax.wsdl.extensions.ExtensionRegistry registry)
                                                          throws javax.wsdl.WSDLException

  Specified by:
    `unmarshall` in interface `javax.wsdl.extensions.ExtensionDeserializer`
  Throws:
    `javax.wsdl.WSDLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF