|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.xpath.ClientXPathMatching
public class ClientXPathMatching
This class implements the xPath matching algorithm. This provides methods to add a subscription and also to remove interest in a subscription predicate. The matching algorithm should also be able to compute destinations.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.xpath.XPathMatchingDebugFlags |
|---|
ClientXPathMatching_Debug, XPathMatching_Debug, XPathProfile_Debug |
| Constructor Summary | |
|---|---|
ClientXPathMatching(int unitLevel,
int systemLevel,
XPathProfilePropagation xPathPropagate)
The XPathMatching constructor |
|
| Method Summary | |
|---|---|
void |
addSubscriptionProfile(XPathProfile xPathProfile)
This method adds a subscription profile to the matching tree |
boolean |
documentMatchesXPathQuery(Document document,
String xpath)
|
int |
getMatchingLevel()
This method returns the level assocaited with this matching tree. |
static void |
main(String[] args)
|
Hashtable |
matchEvent(XmlEvent xmlEvent)
This method return the destinations assocaited with an event that needs to be matched to the matching tree |
void |
propagateChangesToHigherLevels(XPathProfile xPathProfile,
boolean addProfile)
|
void |
removeProfilesForDestination(Object clientIdentifier)
|
void |
removeSubscriptionProfile(XPathProfile xPathProfile)
|
void |
setNodeDestination(Destinations destination)
This method sets the destination address for this node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientXPathMatching(int unitLevel,
int systemLevel,
XPathProfilePropagation xPathPropagate)
| Method Detail |
|---|
public int getMatchingLevel()
public void setNodeDestination(Destinations destination)
setNodeDestination in interface XPathMatchingTreepublic void addSubscriptionProfile(XPathProfile xPathProfile)
addSubscriptionProfile in interface XPathMatchingTreexPathProfile - The profile comprising the subscription and
the destination assocaited with the subscription.public void removeSubscriptionProfile(XPathProfile xPathProfile)
removeSubscriptionProfile in interface XPathMatchingTreepublic void removeProfilesForDestination(Object clientIdentifier)
public void propagateChangesToHigherLevels(XPathProfile xPathProfile,
boolean addProfile)
propagateChangesToHigherLevels in interface XPathMatchingTreepublic Hashtable matchEvent(XmlEvent xmlEvent)
public boolean documentMatchesXPathQuery(Document document,
String xpath)
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||