XTAS Project (0.6 beta)

xtas
Class XmlInstruction

java.lang.Object
  |
  +--xtas.Instruction
        |
        +--xtas.XmlInstruction

public class XmlInstruction
extends Instruction

Data processing based instruction

Version:
$Id: XmlInstruction.java,v 1.3 2003/05/28 15:56:10 geaz Exp $

Constructor Summary
XmlInstruction(Instruction instr)
          Copy constructor
XmlInstruction(java.lang.String type, java.lang.String match, UniFormTree newValue)
           
 
Method Summary
 void compile()
          Compiles instruction
 UniFormTree execute(UniFormTree input)
          Executes instruction For Resource Instruction must return null.
 java.lang.String getAsString()
          Gets instruction as String
 void setContext(java.lang.Object context)
          Sets context
 
Methods inherited from class xtas.Instruction
getMatch, getNewValue, getType, isAtResource, isAtXml, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlInstruction

public XmlInstruction(Instruction instr)
Copy constructor

XmlInstruction

public XmlInstruction(java.lang.String type,
                      java.lang.String match,
                      UniFormTree newValue)
               throws InvalidStatementException
Method Detail

getAsString

public java.lang.String getAsString()
Description copied from class: Instruction
Gets instruction as String
Overrides:
getAsString in class Instruction

compile

public void compile()
             throws InvalidStatementException
Compiles instruction
Overrides:
compile in class Instruction

execute

public UniFormTree execute(UniFormTree input)
                    throws InvalidSourceException,
                           QueryRunTimeException
Executes instruction For Resource Instruction must return null.
Overrides:
execute in class Instruction

setContext

public void setContext(java.lang.Object context)
Description copied from class: Instruction
Sets context
Overrides:
setContext in class Instruction

XTAS Project (0.6 beta)