ru.biosoft.access
Class PatternFilter
java.lang.Object
|
+--com.beanexplorer.swing.table.Option
|
+--ru.biosoft.access.MutableFilter
|
+--ru.biosoft.access.PatternFilter
- public abstract class PatternFilter
- extends MutableFilter
Abstract filter to check some DataElement property
to correspond pattern defined by Perl5 regular expression.
| Methods inherited from class com.beanexplorer.swing.table.Option |
setParent, getParent, addPropertyChangeListener, removePropertyChangeListener, copyListenersTo |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
PatternFilter
public PatternFilter()
getCheckedProperty
public abstract String getCheckedProperty(DataElement de)
- This method should be implemented in subclasses to return
property value that should match the pattern.
- Parameters:
- de - expected
DataElement
getPattern
public String getPattern()
isAcceptable
public boolean isAcceptable(DataElement de)
isAcceptEmpty
public boolean isAcceptEmpty()
setAcceptEmpty
public void setAcceptEmpty(boolean acceptEmpty)
setPattern
public void setPattern(String pattern)
to Class org.apache.oro.text.perl.Perl5Util
to Class java.lang.String
to Class java.lang.String
BOTTOM