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

All Known Subinterfaces:
DOMPattern, ListPattern

public interface Pattern
extends Visitable

This Class implemented the ListPattern Interface. The pattern is a vector of strings mixed with column names. It's actually a subclass of class Vector. You have to distinguish between the column names and the strings in the pattern. It used with Tagger operator.

Since:
1.0

Method Summary
 boolean containsColumn(java.lang.String columnName)
          Test to see if this DOMPattern contains a specific column name in its pattern tree.
 java.lang.String[] getColumnNames()
          Get a vector of column names within the ListPattern.
 

Method Detail

containsColumn

public boolean containsColumn(java.lang.String columnName)
Test to see if this DOMPattern contains a specific column name in its pattern tree.
Parameters:
columnName - The column searching for.
Returns:
boolean True: The given columnName is contained in the ListPattern. False: otherwise.
Since:
1.0

getColumnNames

public java.lang.String[] getColumnNames()
Get a vector of column names within the ListPattern. return String[] The vector of column names within the ListPattern.
Since:
1.0