public static class Workspace.TitleSelector extends java.lang.Object implements DataSelector
Modifier and Type | Field and Description |
---|---|
protected boolean |
exactMatch
if true, Workspace names should match exactly, else should be contained.
|
protected java.lang.String |
lang |
protected java.lang.String |
text |
REVISION
Constructor and Description |
---|
TitleSelector(java.lang.String text) |
TitleSelector(java.lang.String text,
boolean exactMatch) |
TitleSelector(java.lang.String text,
java.lang.String lang) |
TitleSelector(java.lang.String text,
java.lang.String lang,
boolean exactMatch) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
test
protected java.lang.String text
protected java.lang.String lang
protected boolean exactMatch
public TitleSelector(java.lang.String text)
public TitleSelector(java.lang.String text, boolean exactMatch)
text
- the text to searchexactMatch
- if true, Workspace names should match exactly, else should be contained.public TitleSelector(java.lang.String text, java.lang.String lang, boolean exactMatch)
text
- the text to searchlang
- the lang to useexactMatch
- if true, Workspace names should match exactly, else should be contained.public TitleSelector(java.lang.String text, java.lang.String lang)
public boolean isSelected(Data data)
DataSelector
isSelected
in interface DataSelector
data
- the data to evaluate.Copyright © 2001-2017 Jalios SA. All Rights Reserved.