org.ws4d.java.wsdl
Class IOType

java.lang.Object
  extended by org.ws4d.java.types.AttributableSupport
      extended by org.ws4d.java.wsdl.IOType
All Implemented Interfaces:
Attributable

public class IOType
extends AttributableSupport

WSDL 1.1 paramType. Possible usage = wsdl:input, wsdl:output, wsdl:fault.


Field Summary
static java.lang.String REQUEST_SUFFIX
           
static java.lang.String RESPONSE_SUFFIX
           
static java.lang.String SOLICIT_SUFFIX
           
static java.lang.String SUFFIX_FAULT
           
static java.lang.String SUFFIX_INPUT
           
static java.lang.String SUFFIX_OUTPUT
           
static java.lang.String URL_DELIMITER
           
static java.lang.String URN_DELIMITER
           
 
Constructor Summary
IOType()
           
IOType(QName message)
           
IOType(java.lang.String name, QName message)
           
 
Method Summary
 java.lang.String getAction()
          Returns the wsa:Action URI as String.
 WSDLMessage getMessage()
           
 QName getMessageName()
          Returns the WSDL messageName for this
 java.lang.String getName()
           
 java.lang.String getNamespace()
          Returns the namespace within which this input/output/fault element resides.
 WSDLOperation getOperation()
           
 DataStructure getParts()
           
 WSDLPortType getPortType()
           
 WSDL getWsdl()
           
 void setAction(java.lang.String action)
          Sets the wsa:Action.
 void setAttribute(QName name, CustomAttributeValue value)
          Sets the value for the attribute with the specified name.
 void setAttributes(HashMap attributes)
          Sets all attributes at once to those contained within argument attributes.
 void setMessage(QName messageName)
          Sets the WSDL messageName.
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ws4d.java.types.AttributableSupport
equals, getAttribute, getAttributes, hasAttributes, hashCode, serializeAttributes, setAttribute
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUFFIX_INPUT

public static final java.lang.String SUFFIX_INPUT
See Also:
Constant Field Values

SUFFIX_OUTPUT

public static final java.lang.String SUFFIX_OUTPUT
See Also:
Constant Field Values

SUFFIX_FAULT

public static final java.lang.String SUFFIX_FAULT
See Also:
Constant Field Values

REQUEST_SUFFIX

public static final java.lang.String REQUEST_SUFFIX
See Also:
Constant Field Values

RESPONSE_SUFFIX

public static final java.lang.String RESPONSE_SUFFIX
See Also:
Constant Field Values

SOLICIT_SUFFIX

public static final java.lang.String SOLICIT_SUFFIX
See Also:
Constant Field Values

URL_DELIMITER

public static final java.lang.String URL_DELIMITER
See Also:
Constant Field Values

URN_DELIMITER

public static final java.lang.String URN_DELIMITER
See Also:
Constant Field Values
Constructor Detail

IOType

public IOType()

IOType

public IOType(QName message)
Parameters:
message -

IOType

public IOType(java.lang.String name,
              QName message)
Parameters:
name -
message -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class AttributableSupport

setAttribute

public void setAttribute(QName name,
                         CustomAttributeValue value)
Description copied from interface: Attributable
Sets the value for the attribute with the specified name. Throws a java.lang.IllegalArgumentException in case name is null.

Specified by:
setAttribute in interface Attributable
Overrides:
setAttribute in class AttributableSupport
Parameters:
name - the name of the attribute to set, must not be null
value - the value to set the named attribute to (may be null

setAttributes

public void setAttributes(HashMap attributes)
Description copied from interface: Attributable
Sets all attributes at once to those contained within argument attributes. Note that depending on the actual implementation it is possible that the map attributes points at may be used for the actual internal storage of the attributes (i.e. without copying it). That is why, after passing it to this method, modifications to this map should be made with care. This method throws a java.lang.IllegalArgumentException in cases where attributes is null.

Specified by:
setAttributes in interface Attributable
Overrides:
setAttributes in class AttributableSupport
Parameters:
attributes - the new attributes to set

getWsdl

public WSDL getWsdl()

getPortType

public WSDLPortType getPortType()

getNamespace

public java.lang.String getNamespace()
Returns the namespace within which this input/output/fault element resides. This is the namespace of the surrounding operation if one exists, or null otherwise.

Returns:
the namespace of the surrounding operation or null if operation not set

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getMessage

public WSDLMessage getMessage()

getParts

public DataStructure getParts()

getMessageName

public QName getMessageName()
Returns the WSDL messageName for this

Returns:
the messageName

setMessage

public void setMessage(QName messageName)
Sets the WSDL messageName.

Parameters:
messageName - the messageName to set.

getAction

public java.lang.String getAction()
Returns the wsa:Action URI as String.

Returns:
the action URI as String

setAction

public void setAction(java.lang.String action)
Sets the wsa:Action.

Parameters:
action - the action to set

getOperation

public WSDLOperation getOperation()
Returns:
the operation