Interface MimeTypePrecondition
- All Superinterfaces:
Cloneable, MetaDataObject, Precondition, Serializable, SimplePrecondition, XMLizable
- All Known Implementing Classes:
MimeTypePrecondition_impl
A precondition on the MIME Type of the entity. This interface is a kind of
SimplePrecondition to be used as a convenience.-
Field Summary
Fields inherited from interface SimplePrecondition
ELEMENT_OF, EQUAL, LANGUAGE_SUBSUMED, PRECONDITION_TYPE -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the MIME types that satisfy this precondition.voidsetMimeTypes(String[] aMimeTypes) Sets the MIME types that satisfy this precondition.Methods inherited from interface MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlMethods inherited from interface Precondition
evaluateMethods inherited from interface SimplePrecondition
getComparisonValue, getDefault, getFeatureName, getFsIndexName, getFsMatchConstraint, getPreconditionType, getPredicate, setComparisonValue, setDefault, setFeatureName, setFsIndexName, setFsMatchConstraint, setPredicateMethods inherited from interface XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Method Details
-
getMimeTypes
-
setMimeTypes
Sets the MIME types that satisfy this precondition.Note that if the document's MIME Type is unknown, the value of the
defaultproperty determines whether this precondition is satisfied.- Parameters:
aMimeTypes- the MIME Types that satisfy this precondition- Throws:
UIMA_UnsupportedOperationException- if thisMetaDataObjectis not modifiable.
-