edu.umd.cs.db.xsq
Class Output

java.lang.Object
  |
  +--edu.umd.cs.db.xsq.Output
All Implemented Interfaces:
java.lang.Cloneable

public class Output
extends java.lang.Object
implements java.lang.Cloneable

Class Output provides method to handle the output portion of the context node in the XPath expression. It will perform mOperation on the mFuncName of the attribute mAttrName of the element mTagName.


Field Summary
static int AGGREGATE
           
static int AGGREGATE_UP
           
static int CLEAR
           
static int ENQUEUE
           
static int ENQUEUE_UP
           
static int ENQUEUE_UPLOAD
           
static int FLUSH
           
static int FLUSH_OUTPUT
           
static int OUTPUT
           
static int UPDATE
           
static int UPLOAD
           
 
Constructor Summary
Output()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getAttrName()
          Get the value of mAttrName.
 java.lang.String getFuncName()
          Get the value of mFuncName.
 int getOperation()
          Get the value of mOperation.
 java.lang.String getOperationName()
           
 int getOutputFunction()
           
 int getOutputFunction(java.lang.String s)
           
 java.lang.String getTagName()
          Get the value of mTagName.
 boolean isAggregation()
           
static boolean isAggregation(java.lang.String s)
           
 boolean isEmpty()
           
 boolean isText()
           
 void parseOutputString(java.lang.String output)
           
 void setAttrName(java.lang.String v)
          Set the value of mAttrName.
 void setFuncName(java.lang.String v)
          Set the value of mFuncName.
 void setOperation(int v)
          Set the value of mOperation.
 void setTagName(java.lang.String v)
          Set the value of mTagName.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENQUEUE

public static final int ENQUEUE
See Also:
Constant Field Values

CLEAR

public static final int CLEAR
See Also:
Constant Field Values

UPLOAD

public static final int UPLOAD
See Also:
Constant Field Values

FLUSH

public static final int FLUSH
See Also:
Constant Field Values

OUTPUT

public static final int OUTPUT
See Also:
Constant Field Values

UPDATE

public static final int UPDATE
See Also:
Constant Field Values

AGGREGATE

public static final int AGGREGATE
See Also:
Constant Field Values

ENQUEUE_UPLOAD

public static final int ENQUEUE_UPLOAD
See Also:
Constant Field Values

FLUSH_OUTPUT

public static final int FLUSH_OUTPUT
See Also:
Constant Field Values

ENQUEUE_UP

public static final int ENQUEUE_UP
See Also:
Constant Field Values

AGGREGATE_UP

public static final int AGGREGATE_UP
See Also:
Constant Field Values
Constructor Detail

Output

public Output()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getTagName

public java.lang.String getTagName()
Get the value of mTagName.

Returns:
value of mTagName.

setTagName

public void setTagName(java.lang.String v)
Set the value of mTagName.

Parameters:
v - Value to assign to mTagName.

getOperation

public int getOperation()
Get the value of mOperation.

Returns:
value of mOperation.

getOperationName

public java.lang.String getOperationName()

setOperation

public void setOperation(int v)
Set the value of mOperation.

Parameters:
v - Value to assign to mOperation.

getFuncName

public java.lang.String getFuncName()
Get the value of mFuncName.

Returns:
value of mFuncName.

setFuncName

public void setFuncName(java.lang.String v)
Set the value of mFuncName.

Parameters:
v - Value to assign to mFuncName.

getAttrName

public java.lang.String getAttrName()
Get the value of mAttrName.

Returns:
value of mAttrName.

setAttrName

public void setAttrName(java.lang.String v)
Set the value of mAttrName.

Parameters:
v - Value to assign to mAttrName.

isEmpty

public boolean isEmpty()

isText

public boolean isText()

isAggregation

public static boolean isAggregation(java.lang.String s)

isAggregation

public boolean isAggregation()

getOutputFunction

public int getOutputFunction()

getOutputFunction

public int getOutputFunction(java.lang.String s)

parseOutputString

public void parseOutputString(java.lang.String output)