|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.common.treestructure.ListPatternImp
This Class implemented the ListPattern Interface.
Field Summary | |
protected java.util.Vector |
listp
The list pattern. |
Constructor Summary | |
ListPatternImp()
The default ListPatternImp Constructor. |
|
ListPatternImp(java.util.Vector listp)
Deprecated. It should use Vector as it's parameter. It can not enforce the type of the items in the Vector. |
Method Summary | |
void |
add(ColumnName col)
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. |
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 all the column names within the ListPattern. |
java.util.Vector |
getList()
Get the list. |
void |
setList(java.util.Vector lpattern)
Set the list in the ListPattern. |
java.lang.String |
toString()
Convert the ListPattern into String. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.util.Vector listp
Constructor Detail |
public ListPatternImp()
public ListPatternImp(java.util.Vector listp)
listp
- The list pattern used to construct the ListPatternNode.Method Detail |
public void add(ColumnName col)
param
- The ColumnName adding to.public void add(ListPattern pattern)
text
- java.lang.Stringpublic void add(java.lang.String text)
text
- java.lang.Stringpublic boolean containsColumn(java.lang.String columnName)
columnName
- The columnName searching for.public java.lang.String[] getColumnNames()
public java.util.Vector getList()
public void setList(java.util.Vector lpattern)
newPattern
- public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |