com.ricebridge.xmlman.in
Interface Trigger

All Known Implementing Classes:
TriggerSupport

public interface Trigger

Contains actions to take when a TargetPath hits a target.


Method Summary
 void execute(TargetPath pTargetPath, EndPoint pEndPoint, DocContext pDocContext, boolean pConditionMatch)
          Execute on element end tag match.
 void execute(TargetPath pTargetPath, StartPoint pStartPoint, DocContext pDocContext, boolean pConditionMatch)
          Execute on element start tag match.
 TargetPath getTargetPath()
          Get the TargetPath that activates this Trigger.
 void setTargetPath(TargetPath pTargetPath)
          Set the TargetPath that activates this Trigger.
 

Method Detail

execute

public void execute(TargetPath pTargetPath,
                    StartPoint pStartPoint,
                    DocContext pDocContext,
                    boolean pConditionMatch)
Execute on element start tag match.


execute

public void execute(TargetPath pTargetPath,
                    EndPoint pEndPoint,
                    DocContext pDocContext,
                    boolean pConditionMatch)
Execute on element end tag match.


setTargetPath

public void setTargetPath(TargetPath pTargetPath)
Set the TargetPath that activates this Trigger.


getTargetPath

public TargetPath getTargetPath()
Get the TargetPath that activates this Trigger.



Copyright © 2004-2005 Ricebridge