cgl.narada.matching.tagvaluepairs
Class TagValueEvent

java.lang.Object
  extended by cgl.narada.matching.tagvaluepairs.TagValueEvent
All Implemented Interfaces:
TagValueMatchingDebugFlags

public class TagValueEvent
extends Object
implements TagValueMatchingDebugFlags

The event class which we use to perform matching on the profile graph constructed using the general matching algorithm.


Field Summary
 
Fields inherited from interface cgl.narada.matching.tagvaluepairs.TagValueMatchingDebugFlags
TagValueClientEdgeAttributes_Debug, TagValueClientMatching_Debug, TagValueClientMatchingTreeEdge_Debug, TagValueClientMatchingTreeNode_Debug, TagValueClientProfile_Debug, TagValueEdgeAttributes_Debug, TagValueEvent_Debug, TagValueMatching_Debug, TagValueMatchingTreeEdge_Debug, TagValueMatchingTreeNode_Debug, TagValueProfile_Debug
 
Constructor Summary
TagValueEvent(String eventString)
          This TagValueEvent constructor
 
Method Summary
 String getNextTag()
          This returns the next tag, that is contained in the pairs associated with the event.
 String getTagValue(String tag)
          This method returns the value associated with a tag
static void main(String[] args)
           
 void resetLocalPointer()
           
 String toString()
          Provides a string representation of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagValueEvent

public TagValueEvent(String eventString)
This TagValueEvent constructor

Parameters:
eventString - The event string that we use to construct the String.
Method Detail

resetLocalPointer

public void resetLocalPointer()

getTagValue

public String getTagValue(String tag)
This method returns the value associated with a tag

Parameters:
tag - The tag for which we are seeking a value.

getNextTag

public String getNextTag()
This returns the next tag, that is contained in the pairs associated with the event.

Returns:
The next tag in the tag-value sequence

toString

public String toString()
Provides a string representation of the event.

Overrides:
toString in class Object
Returns:
String representation of the event

main

public static void main(String[] args)


For comments and suggestions please send e-mail to The NaradaBrokering Project