|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.TaggedObject
edu.northwestern.at.monk.model.CoreObject
edu.northwestern.at.monk.model.SyntaxCategory
public class SyntaxCategory
A syntax part of speech category.
| Nested Class Summary | |
|---|---|
static class |
SyntaxCategory.Comparator
A multi-column syntax category comparator. |
static class |
SyntaxCategory.SortOption
Syntax category sorting options. |
| Method Summary | |
|---|---|
static int |
compare(SyntaxCategory cat1,
SyntaxCategory cat2)
Compares two syntax categories with null values permitted. |
int |
compareTo(SyntaxCategory other)
Compares this instance with another. |
static java.util.Collection<SyntaxCategory> |
find(java.util.Collection<SearchCriterion> criteria)
Finds syntax categories. |
static java.util.Collection<SyntaxCategory> |
find(SearchCriteria criteria)
Finds syntax categories. |
static java.util.Collection<SyntaxCategory> |
find(SearchCriterion... criteria)
Finds syntax categories. |
static SyntaxCategory |
get(java.lang.String tag)
Gets a syntax category by tag. |
static java.util.Collection<SyntaxCategory> |
getAll()
Gets all the syntax categories. |
static SyntaxCategory[] |
sort(java.util.Collection<SyntaxCategory> collection,
SyntaxCategory.SortOption... options)
Sorts a collection of syntax categories. |
static void |
sort(SyntaxCategory[] array,
SyntaxCategory.SortOption... options)
Sorts an array of syntax categories. |
| Methods inherited from class edu.northwestern.at.monk.model.TaggedObject |
|---|
getTag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SyntaxCategory get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<SyntaxCategory> getAll()
public static java.util.Collection<SyntaxCategory> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<SyntaxCategory> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<SyntaxCategory> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(SyntaxCategory[] array,
SyntaxCategory.SortOption... options)
array - Array of syntax categories.options - Sort options, or null to use the natural ordering.
public static SyntaxCategory[] sort(java.util.Collection<SyntaxCategory> collection,
SyntaxCategory.SortOption... options)
collection - Collection of syntax categories.options - Sort options, or null to use the natural ordering.
public static int compare(SyntaxCategory cat1,
SyntaxCategory cat2)
Syntax categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag. Null values are equal to each other but greater than all other values.
cat1 - First syntax category.cat2 - Second syntax category.
public int compareTo(SyntaxCategory other)
Syntax categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag.
compareTo in interface java.lang.Comparable<SyntaxCategory>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||