public interface LanguagePrecondition extends SimplePrecondition
SimplePrecondition to be used as a convenience.ELEMENT_OF, EQUAL, LANGUAGE_SUBSUMED, PRECONDITION_TYPE| Modifier and Type | Method and Description | 
|---|---|
| String[] | getLanguages()Gets the languages that satisfy this precondition. | 
| void | setLanguages(String[] aLanguages)Sets the languages that satisfy this precondition. | 
getComparisonValue, getDefault, getFeatureName, getFsIndexName, getFsMatchConstraint, getPreconditionType, getPredicate, setComparisonValue, setDefault, setFeatureName, setFsIndexName, setFsMatchConstraint, setPredicateevaluateclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLString[] getLanguages()
 Note that if the document's language is unknown, the value of the
 default property determines whether this precondition is
 satisfied.
void setLanguages(String[] aLanguages)
 Note that if the document's language is unknown, the value of the
 default property determines whether this precondition is
 satisfied.
 
 The ISO language identifiers are cannonicalized by lower-casing them and replacing
 underscores with hyphens.  Also, if any of the identifiers are x-unspecified, the array
 is replaced with an array of just one element: x-unspecified, since all languages are defined
 to match that one.
aLanguages - the languages that satisfy this preconditionUIMA_UnsupportedOperationException - if this MetaDataObject is not modifiable.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.