xsul.message_router
Class MessageContext

java.lang.Object
  extended byXmlElementAdapter
      extended byxsul.message_router.MessageContext
Direct Known Subclasses:
HttpMessageContext

public class MessageContext
extends XmlElementAdapter

XML-ish representation of contextual information about received XML message.

Version:
$Revision: 1.8 $
Author:
Aleksander Slominski
See Also:
Serialized Form

Field Summary
static java.lang.String CONTEXT
           
static java.lang.String DIR_INCOMING
           
static java.lang.String DIR_OUTGOING
           
static java.lang.String DIRECTION
           
static java.lang.String ENVELOPE
           
static java.lang.String INCOMING
           
static java.lang.String MESSAGE
           
static java.lang.String OUTGOING
           
static XmlNamespace XSUL_CTX_NS
           
 
Constructor Summary
MessageContext(java.lang.String direction)
           
 
Method Summary
 java.lang.String getDirection()
           
 XmlElement getIncomingEnvelope()
           
 XmlElement getIncomingMessage()
           
 XmlElement getOutgoingMessage()
           
 void setDirection(java.lang.String direction)
           
 void setIncomingEnvelope(XmlElement incomingEnvelope)
           
 void setIncomingMessage(XmlElement incomingMessage)
           
 void setOutgoingMessage(XmlElement outgoingMessage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT

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

INCOMING

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

MESSAGE

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

ENVELOPE

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

OUTGOING

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

DIRECTION

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

DIR_INCOMING

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

DIR_OUTGOING

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

XSUL_CTX_NS

public static final XmlNamespace XSUL_CTX_NS
Constructor Detail

MessageContext

public MessageContext(java.lang.String direction)
Method Detail

getIncomingMessage

public XmlElement getIncomingMessage()

setIncomingMessage

public void setIncomingMessage(XmlElement incomingMessage)

getIncomingEnvelope

public XmlElement getIncomingEnvelope()

setIncomingEnvelope

public void setIncomingEnvelope(XmlElement incomingEnvelope)

getOutgoingMessage

public XmlElement getOutgoingMessage()

setOutgoingMessage

public void setOutgoingMessage(XmlElement outgoingMessage)

getDirection

public java.lang.String getDirection()

setDirection

public void setDirection(java.lang.String direction)


IU Extreme! Lab (http://www.extreme.indiana.edu)