|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.SearchCriterion
edu.northwestern.at.monk.model.CoreObjectCriterion
edu.northwestern.at.monk.model.CorpusCriterion
public class CorpusCriterion
A corpus search criterion.
| Constructor Summary | |
|---|---|
CorpusCriterion(java.util.Collection<?> values)
Creates a new corpus search criterion. |
|
CorpusCriterion(Corpus... corpora)
Creates a new corpus search criterion. |
|
CorpusCriterion(java.lang.String... tags)
Creates a new corpus search criterion. |
|
| Method Summary | |
|---|---|
java.util.Collection<Corpus> |
getCorpora()
Gets the corpora. |
Corpus |
getCorpus()
Gets the corpus. |
java.lang.String |
getTag()
Gets the tag. |
java.util.Collection<java.lang.String> |
getTags()
Gets the tags. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CorpusCriterion(java.lang.String... tags)
throws ModelException
tags - Tags.
ModelException -
public CorpusCriterion(Corpus... corpora)
throws ModelException
corpora - Corpora.
ModelException -
public CorpusCriterion(java.util.Collection<?> values)
throws ModelException
values - Collection of tags and/or corpora.
ModelException - | Method Detail |
|---|
public java.util.Collection<Corpus> getCorpora()
public Corpus getCorpus()
public java.util.Collection<java.lang.String> getTags()
public java.lang.String getTag()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||