org.apache.woden.wsdl20
Interface InterfaceFault

All Superinterfaces:
NestedComponent, WSDLComponent
All Known Implementing Classes:
InterfaceFaultImpl

public interface InterfaceFault
extends NestedComponent

Represents the InterfaceFault component from the WSDL 2.0 Component model.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 ElementDeclaration getElementDeclaration()
          Returns the ElementDeclaration representing the {element declaration} property of this InterfaceFault.
 java.lang.String getMessageContentModel()
          Returns a String representing the {message content model} property of this InterfaceFault.
 QName getName()
          Returns the qualified name representing the {name} property of this InterfaceFault.
 InterfaceFaultElement toElement()
          Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.
 
Methods inherited from interface org.apache.woden.wsdl20.NestedComponent
getParent
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionsForNamespace
 

Method Detail

getName

QName getName()
Returns the qualified name representing the {name} property of this InterfaceFault.

Returns:
QName representing the name of this InterfaceFault

getMessageContentModel

java.lang.String getMessageContentModel()
Returns a String representing the {message content model} property of this InterfaceFault. This specifies a token indicating the type of message content. '#any' means any single element, '#none' means no message content, '#other' means non-XML extension type system and '#element' means XML Schema global element definition. TODO CR138 adds this property, so check Spec when its updated to ensure javadoc is accurate

Returns:
String representing the type of message content

getElementDeclaration

ElementDeclaration getElementDeclaration()
Returns the ElementDeclaration representing the {element declaration} property of this InterfaceFault. This describes the content or "payload" of the fault.

Returns:
the ElementDeclaration that describes the fault content.

toElement

InterfaceFaultElement toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Returns:
the InterfaceFaultElement that maps to this InterfaceFault


Copyright © 2007. All Rights Reserved.