public interface MimeTypePrecondition extends SimplePrecondition
SimplePrecondition to be used as a convenience.ELEMENT_OF, EQUAL, LANGUAGE_SUBSUMED, PRECONDITION_TYPE| Modifier and Type | Method and Description |
|---|---|
String[] |
getMimeTypes()
Gets the MIME types that satisfy this precondition.
|
void |
setMimeTypes(String[] aMimeTypes)
Sets the MIME types 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[] getMimeTypes()
Note that if the document's MIME Type is unknown, the value of the
default property determines whether this precondition is
satisfied.
void setMimeTypes(String[] aMimeTypes)
Note that if the document's MIME Type is unknown, the value of the
default property determines whether this precondition is
satisfied.
aMimeTypes - the MIME Types that satisfy this preconditionUIMA_UnsupportedOperationException - if this MetaDataObject is not modifiable.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.