com.ricebridge.xmlman.in
Class TriggerSupport

java.lang.Object
  extended bycom.ricebridge.xmlman.in.TriggerSupport
All Implemented Interfaces:
Trigger
Direct Known Subclasses:
RecordTrigger

public abstract class TriggerSupport
extends Object
implements Trigger

Support class for the Trigger interface.


Field Summary
protected  TargetPath iTargetPath
          TargetPath that activates this Trigger.
 
Constructor Summary
TriggerSupport()
           
 
Method Summary
 void execute(TargetPath pTargetPath, EndPoint pEndPoint, DocContext pDocContext, boolean pConditionMatch)
          Helper method.
 void execute(TargetPath pTargetPath, StartPoint pStartPoint, DocContext pDocContext, boolean pConditionMatch)
          Helper method.
protected abstract  void executeImpl(TargetPath pTargetPath, EndPoint pEndPoint, DocContext pDocContext, boolean pConditionMatch)
          Implement to perform actions.
protected abstract  void executeImpl(TargetPath pTargetPath, StartPoint pStartPoint, DocContext pDocContext, boolean pConditionMatch)
          Implement to perform actions.
 TargetPath getTargetPath()
          Get TargetPath.
 void setTargetPath(TargetPath pTargetPath)
          Store TargetPath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iTargetPath

protected TargetPath iTargetPath
TargetPath that activates this Trigger.

Constructor Detail

TriggerSupport

public TriggerSupport()
Method Detail

execute

public void execute(TargetPath pTargetPath,
                    StartPoint pStartPoint,
                    DocContext pDocContext,
                    boolean pConditionMatch)
Helper method.

Specified by:
execute in interface Trigger

execute

public void execute(TargetPath pTargetPath,
                    EndPoint pEndPoint,
                    DocContext pDocContext,
                    boolean pConditionMatch)
Helper method.

Specified by:
execute in interface Trigger

setTargetPath

public void setTargetPath(TargetPath pTargetPath)
Store TargetPath.

Specified by:
setTargetPath in interface Trigger

getTargetPath

public TargetPath getTargetPath()
Get TargetPath.

Specified by:
getTargetPath in interface Trigger

executeImpl

protected abstract void executeImpl(TargetPath pTargetPath,
                                    StartPoint pStartPoint,
                                    DocContext pDocContext,
                                    boolean pConditionMatch)
Implement to perform actions.


executeImpl

protected abstract void executeImpl(TargetPath pTargetPath,
                                    EndPoint pEndPoint,
                                    DocContext pDocContext,
                                    boolean pConditionMatch)
Implement to perform actions.



Copyright © 2004-2005 Ricebridge