org.apache.woden.wsdl20.fragids
Class BindingFaultReferencePart

java.lang.Object
  extended by org.apache.woden.wsdl20.fragids.BindingFaultReferencePart
All Implemented Interfaces:
ComponentPart, PointerPart

public class BindingFaultReferencePart
extends java.lang.Object
implements ComponentPart

BindingFaultReferencePart is a Binding Fault Reference Pointer Part for the Binding Fault Reference WSDL 2.0 component. See the specification at http://www.w3.org/TR/wsdl20/#wsdl.bindingFaultReference

Author:
Dan Harvey (danharvey42@gmail.com)

Constructor Summary
BindingFaultReferencePart(NCName binding, QName operation, NCName message, QName fault)
          Constructs an BindingFaultReferencePart class from the values given.
 
Method Summary
 ComponentPart prefixNamespaces(FragmentIdentifier fragmentIdentifier)
          Checks that the namespace prefixes used in this PointerPart are consistent with those in the WSDL Fragment Identifier.
 java.lang.String toString()
          Returns a String of the serialised Binding Fault Reference Pointer Part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingFaultReferencePart

public BindingFaultReferencePart(NCName binding,
                                 QName operation,
                                 NCName message,
                                 QName fault)
Constructs an BindingFaultReferencePart class from the values given.

Parameters:
binding - the local name of the parent Binding component.
operation - the name of the Interface Operation referred to by the parent Binding Operation component.
message - the message label of the Interface Fault Reference component referred to by this Binding Message Reference component.
fault - the name of the Interface Fault component referred to by the Interface Fault Reference component referred to by this Binding Fault Reference component.
Throws:
java.lang.IllegalArgumentException - if binding, operation, message or fault are null.
Method Detail

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.

toString

public java.lang.String toString()
Returns a String of the serialised Binding Fault Reference Pointer Part.

Specified by:
toString in interface PointerPart
Overrides:
toString in class java.lang.Object
Returns:
a String the serialised Binding Fault Reference Pointer Part.


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.