|
|||||||||
| Home >> All >> net >> jxta >> impl >> [ protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
net.jxta.impl.protocol
Class ResolverQuery

java.lang.Objectnet.jxta.protocol.ResolverQueryMsg
net.jxta.impl.protocol.ResolverQuery
- All Implemented Interfaces:
- java.lang.Cloneable
- public class ResolverQuery
- extends net.jxta.protocol.ResolverQueryMsg
- implements java.lang.Cloneable
- extends net.jxta.protocol.ResolverQueryMsg
Implements the Resolver Query Message according to the schema defined by the core JXTA Peer Resolver Protocol (PRP).
<xs:element name="ResolverQuery" type="jxta:ResolverQuery"/>
<xs:complexType name="ResolverQuery">
<xs:all>
<xs:element ref="jxta:Cred" minOccurs="0"/>
<xs:element name="SrcPeerID" type="jxta:JXTAID"/>
<xs:element name="SrcPeerRoute" type="jxta:JXTA RouteAdv"/>
<!-- This could be extended with a pattern restriction -->
<xs:element name="HandlerName" type="xs:string"/>
<xs:element name="QueryID" type="xs:string"/>
<xs:element name="HC" type="xs:unsignedInt"/>
<xs:element name="Query" type="xs:anyType"/>
</xs:all>
</xs:complexType>
| Field Summary | |
private static java.lang.String |
credentialTag
|
private static java.lang.String |
handlernameTag
|
private static java.lang.String |
hopCountTag
|
private static org.apache.log4j.Logger |
LOG
The Log4J logger |
private static java.lang.String |
queryIdTag
|
private static java.lang.String |
queryTag
|
private static java.lang.String |
srcPeerIdTag
|
private static java.lang.String |
srcRouteTag
|
| Fields inherited from class net.jxta.protocol.ResolverQueryMsg |
hopcount, queryid |
| Constructor Summary | |
ResolverQuery()
Default constructor |
|
ResolverQuery(net.jxta.document.Element root)
Construct from a StructuredDocument |
|
ResolverQuery(java.lang.String HandlerName,
net.jxta.document.StructuredDocument Credential,
java.lang.String pId,
java.lang.String Query,
int qid)
Deprecated. use the individual accessor methods instead. |
|
| Method Summary | |
java.lang.Object |
clone()
null |
net.jxta.document.Document |
getDocument(net.jxta.document.MimeMediaType encodeAs)
null |
net.jxta.protocol.ResolverResponseMsg |
makeResponse()
null |
void |
readIt(net.jxta.document.XMLElement doc)
parses an XML document into this object |
java.lang.String |
toString()
null Result is the query as an XML string. |
| Methods inherited from class net.jxta.protocol.ResolverQueryMsg |
getAdvertisementType, getCredential, getHandlerName, getHopCount, getQuery, getQueryId, getSrc, getSrcPeerRoute, incrementHopCount, setCredential, setHandlerName, setHopCount, setQuery, setQueryId, setSrc, setSrcPeerRoute |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
LOG
private static final org.apache.log4j.Logger LOG
- The Log4J logger
handlernameTag
private static final java.lang.String handlernameTag
- See Also:
- Constant Field Values
credentialTag
private static final java.lang.String credentialTag
- See Also:
- Constant Field Values
queryIdTag
private static final java.lang.String queryIdTag
- See Also:
- Constant Field Values
hopCountTag
private static final java.lang.String hopCountTag
- See Also:
- Constant Field Values
srcPeerIdTag
private static final java.lang.String srcPeerIdTag
- See Also:
- Constant Field Values
srcRouteTag
private static final java.lang.String srcRouteTag
- See Also:
- Constant Field Values
queryTag
private static final java.lang.String queryTag
- See Also:
- Constant Field Values
| Constructor Detail |
ResolverQuery
public ResolverQuery()
- Default constructor
ResolverQuery
public ResolverQuery(java.lang.String HandlerName, net.jxta.document.StructuredDocument Credential, java.lang.String pId, java.lang.String Query, int qid)
- Deprecated. use the individual accessor methods instead.
- Construct a doc from strings
- Construct a doc from strings
ResolverQuery
public ResolverQuery(net.jxta.document.Element root)
- Construct from a StructuredDocument
| Method Detail |
readIt
public void readIt(net.jxta.document.XMLElement doc)
- parses an XML document into this object
getDocument
public net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType encodeAs)
- null
toString
public java.lang.String toString()
- null
Result is the query as an XML string.
clone
public java.lang.Object clone()
- null
makeResponse
public net.jxta.protocol.ResolverResponseMsg makeResponse()
- null
|
|||||||||
| Home >> All >> net >> jxta >> impl >> [ protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC