Class 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


public void connectSource(EventContext sourceContext)


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
connect in class Connector


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