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

- - ### Constructor Summary

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

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, Class<?> parentType, Class<? extends javax.wsdl.extensions.ExtensibilityElement> cls)`
    `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, String parentType, String elementType)`
    `static void` | `addExtensions(javax.wsdl.extensions.ExtensionRegistry registry, String parentType, String elementType, String namespace)`
    `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 JAXBException,
                                           ClassNotFoundException

      Throws:
        `JAXBException`
        `ClassNotFoundException`

    - #### addExtensions

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

      Throws:
        `JAXBException`
        `ClassNotFoundException`

    - #### addExtensions

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

      Throws:
        `JAXBException`

    - #### addExtensions

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

      Throws:
        `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`

Apache CXF