Project JXTA

net.jxta.impl.protocol
Class ResolverQuery

java.lang.Object
  |
  +--net.jxta.protocol.ResolverQueryMsg
        |
        +--net.jxta.impl.protocol.ResolverQuery

public class ResolverQuery
extends net.jxta.protocol.ResolverQueryMsg

ResolverQuery provides the binding for the message to query other nodes

Since:
1.0

Fields inherited from class net.jxta.protocol.ResolverQueryMsg
queryid
 
Constructor Summary
ResolverQuery(java.io.InputStream stream)
          Construct a doc from InputStream
ResolverQuery(java.lang.String HandlerName, java.lang.String CredentialServiceURI, java.lang.String CredentialToken, java.lang.String pId, java.lang.String Query, int qid)
          Construct a doc from strings
ResolverQuery(net.jxta.document.TextElement doc)
          Construct from a StructuredDocument
 
Method Summary
 net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType encodeAs)
          return a Document represetation of this object
 void readIt(net.jxta.document.TextElement doc)
           
 java.lang.String toString()
          retunrs the this doc as string
 
Methods inherited from class net.jxta.protocol.ResolverQueryMsg
getAdvertisementType, getCredentialServieUri, getCredentialToken, getHandlerName, getQuery, getQueryId, getSrc, setCredentialServiceUri, setCredentialToken, setHandlerName, setQuery, setQueryId, setSrc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResolverQuery

public ResolverQuery(java.io.InputStream stream)
              throws java.lang.Exception
Construct a doc from InputStream

ResolverQuery

public ResolverQuery(net.jxta.document.TextElement doc)
Construct from a StructuredDocument

ResolverQuery

public ResolverQuery(java.lang.String HandlerName,
                     java.lang.String CredentialServiceURI,
                     java.lang.String CredentialToken,
                     java.lang.String pId,
                     java.lang.String Query,
                     int qid)
Construct a doc from strings
Method Detail

readIt

public void readIt(net.jxta.document.TextElement doc)

getDocument

public net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType encodeAs)
                                       throws java.lang.Exception
return a Document represetation of this object
Overrides:
getDocument in class net.jxta.protocol.ResolverQueryMsg
Parameters:
encodeAs -  
Returns:
 

toString

public java.lang.String toString()
retunrs the this doc as string
Overrides:
toString in class java.lang.Object
Returns:
String representation of the of this message type

Project JXTA