edu.wpi.cs.dsrg.xmldb.xat.common.operator.updateoperator
Interface Replace

All Known Implementing Classes:
ReplaceImp

public interface Replace
extends UpdateOperator

The Replace interface.

Since:
1.0

Field Summary
static int NEW_ATTRIBUTE
           
static int NEW_REF
           
 
Method Summary
 java.lang.String[] getFuncArgs()
          Gets function argument
 java.lang.String getPCDATAContent()
          Gets the PCDATA content of the operator
 java.lang.String getReplacingVariable()
          Gets the replacing varibale.
 XATTable getRight()
          Gets the right (secondary) data source.
 int getUpdateFunction()
          Gets the update function
 void setFuncArgs(java.lang.String[] funcArgs)
          Sets the PCDATA content that should replace the original content
 void setPCDATAContent(java.lang.String PCDATAContent)
          Sets the PCDATA content that should replace the original content
 void setReplacingVariable(java.lang.String newVar)
          Sets the replacing varible.
 void setUpdateFunction(int funcType)
          Sets the update function
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.updateoperator.UpdateOperator
getContext, getVariable, setContext, setVariable
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperator
clone, getNode, getOutput, getOutputColumnName, getOutputDataSource, getOutputDataSources, getPrimaryDataSource, getPrimarySource, setNode, setOutput, setOutputColumnName
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObject
getStatistics, isValidStatistic
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATProperties
getProperties, getProperty, isValidPropertyName, setProperty
 

Field Detail

NEW_ATTRIBUTE

public static final int NEW_ATTRIBUTE

NEW_REF

public static final int NEW_REF
Method Detail

getRight

public XATTable getRight()
                  throws XATNodeDoesNotExistException
Gets the right (secondary) data source.
Returns:
XATTAble containing columns representing the new element throws XATNodeDoesNotExistException
Since:
1.0

getPCDATAContent

public java.lang.String getPCDATAContent()
Gets the PCDATA content of the operator
Returns:
int
Since:
1.0

getFuncArgs

public java.lang.String[] getFuncArgs()
Gets function argument
Returns:
String
Since:
1.0

getUpdateFunction

public int getUpdateFunction()
Gets the update function
Returns:
int
Since:
1.0

getReplacingVariable

public java.lang.String getReplacingVariable()
Gets the replacing varibale.
Returns:
string
Since:
1.0

setPCDATAContent

public void setPCDATAContent(java.lang.String PCDATAContent)
Sets the PCDATA content that should replace the original content
Parameters:
String -  
Since:
1.0

setFuncArgs

public void setFuncArgs(java.lang.String[] funcArgs)
Sets the PCDATA content that should replace the original content
Parameters:
funcArgs - an array of String
Since:
1.0

setUpdateFunction

public void setUpdateFunction(int funcType)
Sets the update function
Parameters:
funcType - int
Since:
1.0

setReplacingVariable

public void setReplacingVariable(java.lang.String newVar)
Sets the replacing varible.
Parameters:
newVar - String
Since:
1.0