pobs.action
Class PSetString

java.lang.Object
  extended bypobs.action.PSetString
All Implemented Interfaces:
PAction

public class PSetString
extends java.lang.Object
implements PAction

Sets the parsed data to a wrapped string.

Author:
Martijn W. van der Lee
See Also:
PAppendString

Field Summary
 PWrapper wrapped
           
 
Constructor Summary
PSetString(PWrapper wrapped)
          Sole constructor.
 
Method Summary
 void perform(PTarget target, java.lang.String data)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrapped

public PWrapper wrapped
Constructor Detail

PSetString

public PSetString(PWrapper wrapped)
Sole constructor.

Parameters:
wrapped - a wrapped string.
Method Detail

perform

public void perform(PTarget target,
                    java.lang.String data)
Description copied from interface: PAction
Insert the method's description here.

Specified by:
perform in interface PAction
Parameters:
target - Target object manipulated by the action. Can be null. In this case stateless actions will do nothing.
data - the matched string for the parser the action was linked to. If this action was called upon a mismatch, this is the part matched upto but excluding the point of failure.