org.apache.axis2.description
Class AxisMessage

java.lang.Object
  extended by org.apache.axis2.description.AxisDescription
      extended by org.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
 String getDirection()
           
 QName getElementQName()
           
 List getExtensibilityAttributes()
          This will return a list of WSDLExtensibilityAttribute
 Object getKey()
           
 ArrayList getMessageFlow()
           
 String getName()
           
 org.apache.ws.commons.schema.XmlSchemaElement getSchemaElement()
           
 ArrayList getSoapHeaders()
           
 boolean isEngaged(QName moduleName)
           
 boolean isParameterLocked(String parameterName)
          Checks whether the parameter is locked at any level.
 void setDirection(String direction)
           
 void setElementQName(QName element)
           
 void setMessageFlow(ArrayList operationFlow)
           
 void setName(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 ArrayList getMessageFlow()

isParameterLocked

public boolean isParameterLocked(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(ArrayList operationFlow)

getDirection

public String getDirection()

setDirection

public void setDirection(String direction)

getElementQName

public QName getElementQName()

setElementQName

public void setElementQName(QName element)

getKey

public Object getKey()
Specified by:
getKey in class AxisDescription

getSchemaElement

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

getName

public String getName()

setName

public void setName(String name)

getExtensibilityAttributes

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


addSoapHeader

public void addSoapHeader(SOAPHeaderMessage soapHeaderMessage)

getSoapHeaders

public 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
Throws:
AxisFault

isEngaged

public boolean isEngaged(QName moduleName)
Specified by:
isEngaged in class AxisDescription