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
Interface WSDLManager

    public interface WSDLManager

WSDLManager

Method Summary
`void` | `addDefinition(java.lang.Object key, javax.wsdl.Definition wsdl)` Adds a definition into the cache for lookup later
`javax.wsdl.Definition` | `getDefinition(org.w3c.dom.Element element)` Get the WSDL definition for the given Element.
`javax.wsdl.Definition` | `getDefinition(java.lang.String url)` Get the WSDL definition for the given URL.
`javax.wsdl.Definition` | `getDefinition(java.net.URL url)` Get the WSDL definition for the given URL.
`java.util.Map<java.lang.Object,javax.wsdl.Definition>` | `getDefinitions()`
`javax.wsdl.extensions.ExtensionRegistry` | `getExtenstionRegistry()` Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files.
`javax.wsdl.factory.WSDLFactory` | `getWSDLFactory()` Returns the WSDLFactory that is used to read/write WSDL definitions

Method Detail

### getExtenstionRegistry

    javax.wsdl.extensions.ExtensionRegistry getExtenstionRegistry()

  Returns the ExtensionRegistry that the WSDLManager uses when reading WSDL files. Users can use this to register their own extensors.

  Returns:
    the ExtensionRegistry

### getWSDLFactory

    javax.wsdl.factory.WSDLFactory getWSDLFactory()

  Returns the WSDLFactory that is used to read/write WSDL definitions

  Returns:
    the WSDLFactory

### getDefinition

    javax.wsdl.Definition getDefinition(java.net.URL url)
                                        throws javax.wsdl.WSDLException

  Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

  Parameters:
    `url` - - the location of the WSDL to load
  Returns:
    the wsdl definition
  Throws:
    `javax.wsdl.WSDLException`

### getDefinition

    javax.wsdl.Definition getDefinition(java.lang.String url)
                                        throws javax.wsdl.WSDLException

  Get the WSDL definition for the given URL. Implementations may return a copy from a local cache or load a new copy from the URL.

  Parameters:
    `url` - - the location of the WSDL to load
  Returns:
    the wsdl definition
  Throws:
    `javax.wsdl.WSDLException`

### getDefinition

    javax.wsdl.Definition getDefinition(org.w3c.dom.Element element)
                                        throws javax.wsdl.WSDLException

  Get the WSDL definition for the given Element. Implementations may return a copy from a local cache or load a new copy from the Element.

  Parameters:
    `element` - - the root element of the wsdl
  Returns:
    the wsdl definition
  Throws:
    `javax.wsdl.WSDLException`

### addDefinition

    void addDefinition(java.lang.Object key,
                       javax.wsdl.Definition wsdl)

  Adds a definition into the cache for lookup later

  Parameters:
    `key` -
    `wsdl` -

### getDefinitions

    java.util.Map<java.lang.Object,javax.wsdl.Definition> getDefinitions()

  Returns:
    all Definitions in the map

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 is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.