net.sf.swan.xml.input.pattern
Class Stereotype

java.lang.Object
  |
  +--net.sf.swan.xml.input.pattern.Connector
        |
        +--net.sf.swan.xml.input.pattern.Stereotype

public class Stereotype
extends Connector

A Connector with no explicit criteria for identifying those ContextEvents that should be used as source contexts for rule evaluation. Stereotypes can be connected with an arbitrary number of Rules -- effectively merging the Stereotype's rules with those of the target rule -- or may be connected with an arbitrary number of EventContexts on an ad hoc basis during processing.


Method Summary
 Rule connect(java.lang.String pattern, ContextListener handler)
          Define a rule by specifying an XSLT-like pattern
 void connectSource(EventContext sourceContext)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.swan.xml.input.pattern.Connector
getLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

connectSource

public void connectSource(EventContext sourceContext)

connect

public Rule connect(java.lang.String pattern,
                    ContextListener handler)
             throws org.saxpath.SAXPathException
Description copied from class: Connector
Define a rule by specifying an XSLT-like pattern
Overrides:
connect in class Connector

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object