|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.stanbol.entityhub.servicesapi.query.Constraint
org.apache.stanbol.entityhub.servicesapi.query.TextConstraint
public class TextConstraint
| Nested Class Summary | |
|---|---|
static class |
TextConstraint.PatternType
|
| Nested classes/interfaces inherited from class org.apache.stanbol.entityhub.servicesapi.query.Constraint |
|---|
Constraint.ConstraintType |
| Constructor Summary | |
|---|---|
TextConstraint(List<String> text,
boolean caseSensitive,
String... languages)
|
|
TextConstraint(List<String> text,
String... languages)
Creates a TextConstraint for multiple texts and languages. |
|
TextConstraint(List<String> text,
TextConstraint.PatternType wildcardType,
boolean caseSensitive,
String... languages)
|
|
TextConstraint(String text,
boolean caseSensitive,
String... languages)
|
|
TextConstraint(String text,
String... languages)
Creates a TextConstraint for a text and languages. |
|
TextConstraint(String text,
TextConstraint.PatternType wildcardType,
boolean caseSensitive,
String... languages)
|
|
| Method Summary | |
|---|---|
Set<String> |
getLanguages()
The set of languages for this query. |
TextConstraint.PatternType |
getPatternType()
The pattern type to be used for this query. |
String |
getText()
Deprecated. |
List<String> |
getTexts()
Getter for the text constraints. |
boolean |
isCaseSensitive()
If the query is case sensitive |
String |
toString()
|
| Methods inherited from class org.apache.stanbol.entityhub.servicesapi.query.Constraint |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextConstraint(List<String> text,
String... languages)
text - the texts or null to search for any text in active languageslanguages - the set of active languages
public TextConstraint(String text,
String... languages)
text - the text or null to search for any text in active languageslanguages - the set of active languages.
public TextConstraint(List<String> text,
boolean caseSensitive,
String... languages)
public TextConstraint(String text,
boolean caseSensitive,
String... languages)
public TextConstraint(String text,
TextConstraint.PatternType wildcardType,
boolean caseSensitive,
String... languages)
public TextConstraint(List<String> text,
TextConstraint.PatternType wildcardType,
boolean caseSensitive,
String... languages)
| Method Detail |
|---|
public final TextConstraint.PatternType getPatternType()
public final Set<String> getLanguages()
public final boolean isCaseSensitive()
public final List<String> getTexts()
@Deprecated public final String getText()
public String toString()
toString in class Constraint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||