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 |
---|
Workspace.TitleSelector(java.lang.String text) |
Workspace.TitleSelector(java.lang.String text,
boolean exactMatch) |
Workspace.TitleSelector(java.lang.String text,
java.lang.String lang) |
Workspace.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.
|
protected java.lang.String text
protected java.lang.String lang
protected boolean exactMatch
public Workspace.TitleSelector(java.lang.String text)
public Workspace.TitleSelector(java.lang.String text, boolean exactMatch)
text
- the text to searchexactMatch
- if true, Workspace names should match exactly, else should be contained.public Workspace.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 Workspace.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-2010 Jalios SA. All Rights Reserved.