|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.xmlxpath.XPathProfile
public class XPathProfile
An XPATH profile is stored in this class. The profile includes information regarding the xPath subscription that the client is interested in, and the destination associated with this.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.xmlxpath.XPathMatchingDebugFlags |
|---|
ClientXPathMatching_Debug, XPathMatching_Debug, XPathProfile_Debug |
| Constructor Summary | |
|---|---|
XPathProfile(byte[] xPathProfileBytes)
This method serves to unmarshall a xPathProfile stream received over the link. |
|
XPathProfile(String subscription,
int destinations,
String profileId)
A XPathProfile is comprised of both the subscription as well as the destination of the unit/super-unit that has expressed an interest in it. |
|
| Method Summary | |
|---|---|
boolean |
equals(XPathProfile _xPathProfile)
Compares two objects for equality. |
byte[] |
getBytes()
This method returns the xPathProfile as a stream of bytes, the unmarshalling counterpart to this marshalling scheme is contained within one of the XPathProfile constructors |
int |
getDestination()
This method returns the destinations assocaited with the subscription. |
String |
getProfileId()
|
int |
getProfileType()
|
Object |
getSubscription()
This method returns the subscription associated with the xPathProfile. |
int |
hashCode()
Generates a hash code for the receiver. |
static void |
main(String[] args)
|
String |
toString()
Provides a string representation of the xPathProfile instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XPathProfile(String subscription,
int destinations,
String profileId)
subscription - The xPath subscriptiondestinations - The hierarchial destinations associated with this
xPathProfilepublic XPathProfile(byte[] xPathProfileBytes)
xPathProfileBytes - The marshalled stream of xPathProfile bytes that
are received over a link.| Method Detail |
|---|
public Object getSubscription()
getSubscription in interface Profilepublic int getDestination()
getDestination in interface Profilepublic String getProfileId()
getProfileId in interface Profilepublic int getProfileType()
getProfileType in interface Profilepublic boolean equals(XPathProfile _xPathProfile)
_xPathProfile - the Object to compare with
Hashtablepublic int hashCode()
hashCode in class Objectpublic byte[] getBytes()
getBytes in interface Profilepublic String toString()
toString in interface ProfiletoString in class Objectpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||