JXTA

net.jxta.impl.protocol
Class ResolverSrdiMsgImpl

java.lang.Object
  extended by net.jxta.protocol.ResolverSrdiMsg
      extended by net.jxta.impl.protocol.ResolverSrdiMsgImpl

public class ResolverSrdiMsgImpl
extends ResolverSrdiMsg

ResolverQuery provides the binding for the message to query other nodes


Field Summary
static String credentialTag
          Description of the Field
static String handlernameTag
          Description of the Field
static String payloadTag
          Description of the Field
 
Constructor Summary
ResolverSrdiMsgImpl()
          Constructor for the ResolverSrdiMsgImpl object
ResolverSrdiMsgImpl(Element root, MembershipService membership)
          Construct from a StructuredDocument
ResolverSrdiMsgImpl(String handlerName, Credential cred, String payload)
          Creates this object with a specific handler name, credential and payload
 
Method Summary
 Document getDocument(MimeMediaType asMimeType)
          return a Document represetation of this object
 String toString()
          return the string representaion of this doc
 
Methods inherited from class net.jxta.protocol.ResolverSrdiMsg
getCredential, getHandlerName, getMessageType, getPayload, setCredential, setHandlerName, setPayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

handlernameTag

public static final String handlernameTag
Description of the Field

See Also:
Constant Field Values

credentialTag

public static final String credentialTag
Description of the Field

See Also:
Constant Field Values

payloadTag

public static final String payloadTag
Description of the Field

See Also:
Constant Field Values
Constructor Detail

ResolverSrdiMsgImpl

public ResolverSrdiMsgImpl()
Constructor for the ResolverSrdiMsgImpl object


ResolverSrdiMsgImpl

public ResolverSrdiMsgImpl(Element root,
                           MembershipService membership)
Construct from a StructuredDocument

Parameters:
root - the underlying document
membership - membership service used to verify credentials

ResolverSrdiMsgImpl

public ResolverSrdiMsgImpl(String handlerName,
                           Credential cred,
                           String payload)
Creates this object with a specific handler name, credential and payload

Parameters:
handlerName - the
cred - the credntial
payload - the payload
Method Detail

toString

public String toString()
return the string representaion of this doc

Overrides:
toString in class Object
Returns:
string representation of the message

getDocument

public Document getDocument(MimeMediaType asMimeType)
return a Document represetation of this object

Specified by:
getDocument in class ResolverSrdiMsg
Parameters:
asMimeType - type of message
Returns:
document

JXSE