cmu.survey.editor.manipulators
Class StackTable.StartsWithStackPattern

java.lang.Object
  extended by cmu.survey.editor.manipulators.StackTable.StackPatternStub
      extended by cmu.survey.editor.manipulators.StackTable.StartsWithStackPattern
All Implemented Interfaces:
StackTable.StackPattern
Enclosing class:
StackTable

public static class StackTable.StartsWithStackPattern
extends StackTable.StackPatternStub


Field Summary
protected  java.lang.String startsWith
           
 
Fields inherited from class cmu.survey.editor.manipulators.StackTable.StackPatternStub
type
 
Constructor Summary
StackTable.StartsWithStackPattern(java.lang.String startsWith, java.lang.String type)
           
 
Method Summary
 java.lang.String getNewColumnName(java.lang.String oldColumnName)
          Only call after a matches(columnName) returns true.
 boolean matches(java.lang.String oldColumnName)
           
 
Methods inherited from class cmu.survey.editor.manipulators.StackTable.StackPatternStub
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startsWith

protected java.lang.String startsWith
Constructor Detail

StackTable.StartsWithStackPattern

public StackTable.StartsWithStackPattern(java.lang.String startsWith,
                                         java.lang.String type)
Method Detail

matches

public boolean matches(java.lang.String oldColumnName)

getNewColumnName

public java.lang.String getNewColumnName(java.lang.String oldColumnName)
Only call after a matches(columnName) returns true.

Parameters:
columnName -
Returns: