org.apache.woden.wsdl20.fragids

## Class BindingPart

- java.lang.Object
- - org.apache.woden.wsdl20.fragids.BindingPart

- All Implemented Interfaces:
    ComponentPart, PointerPart

      public class BindingPart
      extends Object
      implements ComponentPart

  `BindingPart` is a Binding Pointer Part for the Binding WSDL 2.0 component. See the specification at http://www.w3.org/TR/wsdl20/#wsdl.binding
  Author:
    Dan Harvey (danharvey42@gmail.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BindingPart(Binding binding)` Constructs a BindingPart class using values from the Binding WSDL 2.0 component.
    `BindingPart(NCName binding)` Constructs a BindingPart from the given value.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ComponentPart` | `prefixNamespaces(FragmentIdentifier fragmentIdentifier)` Checks that the namespace prefixes used in this PointerPart are consistent with those in the WSDL Fragment Identifier.
    `String` | `toString()` Returns a String of the serialised Binding Pointer Part.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BindingPart

          public BindingPart(Binding binding)

      Constructs a BindingPart class using values from the Binding WSDL 2.0 component.
      Parameters:
        `binding` - the local name of the Binding component.
      Throws:
        `IllegalArgumentException` - if binding is null.

    - #### BindingPart

          public BindingPart(NCName binding)

      Constructs a BindingPart from the given value.
      Parameters:
        `binding` -

  - ### Method Detail

    - #### toString

          public String toString()

      Returns a String of the serialised Binding Pointer Part.
      Specified by:
        `toString` in interface `PointerPart`
      Overrides:
        `toString` in class `Object`
      Returns:
        a String the serialised Binding Pointer Part.

    - #### prefixNamespaces

          public ComponentPart prefixNamespaces(FragmentIdentifier fragmentIdentifier)

      Description copied from interface: `ComponentPart`
      Checks that the namespace prefixes used in this PointerPart are consistent with those in the WSDL Fragment Identifier. It returns a identical copy of this object with the required changes. This method is called by the add method on WSDL Fragment Identifier when PointerParts are added to it.
      Specified by:
        `prefixNamespaces` in interface `ComponentPart`
      Parameters:
        `fragmentIdentifier` - a Fragment Identifier which the namespace prefixes are checked against.
      Returns:
        a ComponentPart which has been checked with changed namespaces if needed.

Copyright ? Apache Software Foundation. All Rights Reserved.