edu.wpi.cs.dsrg.xmldb.xat.common.treestructure
Interface ListPattern

All Known Implementing Classes:
ListPatternImp

public interface ListPattern
extends Pattern

This Class implemented the DOMpattern Interface. This pattern is good for execution. It will be a list of mix of strings and column names. For example: (seperated by |, [] means a column name.) ||[col2]|Foo|[col3]||

Since:
1.0

Method Summary
 void add(ColumnName param)
          Add the given column name into a ListPattern.
 void add(ListPattern pattern)
          Connect with another list pattern.
 void add(java.lang.String text)
          Add text in list pattern.
 java.util.Vector getList()
          Get the list.
 void setList(java.util.Vector newPattern)
          Set the list in the ListPattern.
 java.lang.String toString()
          Convert the ListPattern into String.
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.treestructure.Pattern
containsColumn, getColumnNames
 

Method Detail

add

public void add(ColumnName param)
Add the given column name into a ListPattern.
Parameters:
param - The ColumnName adding to.
Returns:
void
Since:
1.0

add

public void add(ListPattern pattern)
Connect with another list pattern.
Parameters:
text - java.lang.String
Returns:
void
Since:
1.0

add

public void add(java.lang.String text)
Add text in list pattern. Creation date: (2/9/2003 10:26:56 PM)
Parameters:
text - java.lang.String
Since:
1.0

getList

public java.util.Vector getList()
Get the list.
Returns:
Vector The vector of the list pattern.
Since:
1.0

setList

public void setList(java.util.Vector newPattern)
Set the list in the ListPattern.
Parameters:
newPattern -  
Returns:
void
Since:
1.0

toString

public java.lang.String toString()
Convert the ListPattern into String.
Overrides:
toString in class java.lang.Object
Returns:
String The result of converting.
Since:
1.0