org.apache.axis2.description
Class AxisMessage

java.lang.Object
  extended byorg.apache.axis2.description.AxisDescription
      extended byorg.apache.axis2.description.AxisMessage
All Implemented Interfaces:
DescriptionConstants, ParameterInclude

public class AxisMessage
extends AxisDescription

This class represents the messages in WSDL. There can be message element in services.xml which are represented by this class.


Field Summary
 
Fields inherited from interface org.apache.axis2.description.DescriptionConstants
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY
 
Constructor Summary
AxisMessage()
           
 
Method Summary
 void addSoapHeader(SOAPHeaderMessage soapHeaderMessage)
           
 void engageModule(AxisModule axisModule, AxisConfiguration axisConfig)
          Engaging a module to different level
 java.lang.String getDirection()
           
 javax.xml.namespace.QName getElementQName()
           
 java.util.List getExtensibilityAttributes()
          This will return a list of WSDLExtensibilityAttribute
 java.lang.Object getKey()
           
 java.util.ArrayList getMessageFlow()
           
 java.lang.String getName()
           
 org.apache.ws.commons.schema.XmlSchemaElement getSchemaElement()
           
 java.util.ArrayList getSoapHeaders()
           
 boolean isEngaged(java.lang.String moduleName)
           
 boolean isParameterLocked(java.lang.String parameterName)
          Checks whether the parameter is locked at any level.
 void setDirection(java.lang.String direction)
           
 void setElementQName(javax.xml.namespace.QName element)
           
 void setMessageFlow(java.util.ArrayList operationFlow)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, applyPolicy, applyPolicy, deserializeParameters, getAxisConfiguration, getChild, getChildren, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, removeChild, removeParameter, setParent, setPolicyInclude
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisMessage

public AxisMessage()
Method Detail

getMessageFlow

public java.util.ArrayList getMessageFlow()

isParameterLocked

public boolean isParameterLocked(java.lang.String parameterName)
Description copied from interface: ParameterInclude
Checks whether the parameter is locked at any level.

Specified by:
isParameterLocked in interface ParameterInclude
Overrides:
isParameterLocked in class AxisDescription

setMessageFlow

public void setMessageFlow(java.util.ArrayList operationFlow)

getDirection

public java.lang.String getDirection()

setDirection

public void setDirection(java.lang.String direction)

getElementQName

public javax.xml.namespace.QName getElementQName()

setElementQName

public void setElementQName(javax.xml.namespace.QName element)

getKey

public java.lang.Object getKey()
Specified by:
getKey in class AxisDescription

getSchemaElement

public org.apache.ws.commons.schema.XmlSchemaElement getSchemaElement()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getExtensibilityAttributes

public java.util.List getExtensibilityAttributes()
This will return a list of WSDLExtensibilityAttribute


addSoapHeader

public void addSoapHeader(SOAPHeaderMessage soapHeaderMessage)

getSoapHeaders

public java.util.ArrayList getSoapHeaders()

engageModule

public void engageModule(AxisModule axisModule,
                         AxisConfiguration axisConfig)
                  throws AxisFault
Description copied from class: AxisDescription
Engaging a module to different level

Specified by:
engageModule in class AxisDescription
Parameters:
axisModule -
axisConfig -
Throws:
AxisFault

isEngaged

public boolean isEngaged(java.lang.String moduleName)
Specified by:
isEngaged in class AxisDescription


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.