HPSearch

cgl.hpsearch.wsi.wsheaders
Class MessageHeaders

java.lang.Object
  extended bycgl.hpsearch.wsi.wsheaders.MessageHeaders

public class MessageHeaders
extends Object

Created on Jan 20, 2005

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)

Constructor Summary
MessageHeaders()
           
 
Method Summary
 Enumeration enumerateNonWsaHeaders()
           
 ActionDocument getAction()
           
 FaultToDocument getFaultTo()
           
 FromDocument getFrom()
           
 MessageIDDocument getMsgId()
           
 XmlObject getNonWSAHeader(QName qname)
           
 RelatesToDocument getRelatesTo()
           
 ReplyAfterDocument getReplyAfter()
           
 ReplyToDocument getReplyTo()
           
 ToDocument getTo()
           
 boolean hasAction()
           
 boolean hasFaultTo()
           
 boolean hasFrom()
           
 boolean hasHeader(QName qname)
           
 boolean hasMessageId()
           
 boolean hasRelatesTo()
           
 boolean hasReplyAfter()
           
 boolean hasReplyTo()
           
 boolean hasTo()
           
 XmlObject marshall()
           
 void putNonWsaHeader(QName qname, XmlObject obj)
           
 void setAction(ActionDocument action)
           
 void setFaultTo(FaultToDocument faultTo)
           
 void setFrom(FromDocument from)
           
 void setMsgId(MessageIDDocument msgId)
           
 void setRelatesTo(RelatesToDocument relatesTo)
           
 void setReplyAfter(ReplyAfterDocument replyAfter)
           
 void setReplyTo(ReplyToDocument replyTo)
           
 void setTo(ToDocument to)
           
 String xGetAction()
           
 String xGetFrom()
           
 String xGetMessageID()
           
 String xGetRelatesTo()
           
 String xGetReplyAfter()
           
 String xGetReplyTo()
           
 String xGetTo()
           
 void xSetAction(String s)
           
 void xSetFrom(String s)
           
 void xSetMessageID(String s)
           
 void xSetRelatesTo(String s)
           
 void xSetReplyAfter(String s)
           
 void xSetReplyTo(String s)
           
 void xSetTo(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHeaders

public MessageHeaders()
Method Detail

marshall

public XmlObject marshall()

hasHeader

public boolean hasHeader(QName qname)

getNonWSAHeader

public XmlObject getNonWSAHeader(QName qname)

putNonWsaHeader

public void putNonWsaHeader(QName qname,
                            XmlObject obj)
                     throws NullPointerException
Throws:
NullPointerException

enumerateNonWsaHeaders

public Enumeration enumerateNonWsaHeaders()

hasAction

public boolean hasAction()

hasFrom

public boolean hasFrom()

hasTo

public boolean hasTo()

hasMessageId

public boolean hasMessageId()

hasReplyTo

public boolean hasReplyTo()

hasFaultTo

public boolean hasFaultTo()

hasReplyAfter

public boolean hasReplyAfter()

hasRelatesTo

public boolean hasRelatesTo()

getAction

public final ActionDocument getAction()
Returns:
Returns the action.

setAction

public final void setAction(ActionDocument action)
Parameters:
action - The action to set.

getFaultTo

public final FaultToDocument getFaultTo()
Returns:
Returns the faultTo.

setFaultTo

public final void setFaultTo(FaultToDocument faultTo)
Parameters:
faultTo - The faultTo to set.

getFrom

public final FromDocument getFrom()
Returns:
Returns the from.

setFrom

public final void setFrom(FromDocument from)
Parameters:
from - The from to set.

getMsgId

public final MessageIDDocument getMsgId()
Returns:
Returns the msgId.

setMsgId

public final void setMsgId(MessageIDDocument msgId)
Parameters:
msgId - The msgId to set.

getRelatesTo

public final RelatesToDocument getRelatesTo()
Returns:
Returns the relatesTo.

setRelatesTo

public final void setRelatesTo(RelatesToDocument relatesTo)
Parameters:
relatesTo - The relatesTo to set.

getReplyAfter

public final ReplyAfterDocument getReplyAfter()
Returns:
Returns the replyAfter.

setReplyAfter

public final void setReplyAfter(ReplyAfterDocument replyAfter)
Parameters:
replyAfter - The replyAfter to set.

getReplyTo

public final ReplyToDocument getReplyTo()
Returns:
Returns the replyTo.

setReplyTo

public final void setReplyTo(ReplyToDocument replyTo)
Parameters:
replyTo - The replyTo to set.

getTo

public final ToDocument getTo()
Returns:
Returns the to.

setTo

public final void setTo(ToDocument to)
Parameters:
to - The to to set.

xGetMessageID

public String xGetMessageID()

xGetTo

public String xGetTo()

xGetFrom

public String xGetFrom()

xGetAction

public String xGetAction()

xGetReplyTo

public String xGetReplyTo()

xGetRelatesTo

public String xGetRelatesTo()

xGetReplyAfter

public String xGetReplyAfter()

xSetMessageID

public void xSetMessageID(String s)

xSetTo

public void xSetTo(String s)

xSetFrom

public void xSetFrom(String s)

xSetAction

public void xSetAction(String s)

xSetReplyTo

public void xSetReplyTo(String s)

xSetRelatesTo

public void xSetRelatesTo(String s)

xSetReplyAfter

public void xSetReplyAfter(String s)

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006