public class CapabilityLanguageFlow_impl extends MetaDataObject_impl implements CapabilityLanguageFlow
CapabilityLanguageFlow is a simple type of FlowConstraints that
specifies the complete flow as a capabilityLanguage sequence.
Each element in the sequence is specified as a String identifier. In a
CapabilityLanguageFlow skipping of the included AnalysisEngines is possible if the
document language does not map to the capabilities or the output capability was already done by
another AnalysisEngine.
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContextFLOW_CONSTRAINTS_TYPE| Constructor and Description |
|---|
CapabilityLanguageFlow_impl() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCapabilityLanguageFlow()
Returns the flow as an array.
|
String |
getFlowConstraintsType()
Gets the type of this
FlowConstraints object. |
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
remapIDs(Map<String,String> aIDMap)
Remaps the AE identifier Strings used in this FlowConstraints object.
|
void |
setCapabilityLanguageFlow(String[] aFlow)
Sets the CapabilityLanguageFlow.
|
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLpublic String getFlowConstraintsType()
CapabilityLanguageFlowFlowConstraints object. Each sub-interface of
FlowConstraints has its own standard type identifier String. These identifier
Strings are used instead of Java class names in order to ease portability of metadata to other
languages.getFlowConstraintsType in interface CapabilityLanguageFlowgetFlowConstraintsType in interface FlowConstraintsCapabilityLanguageFlow.FLOW_CONSTRAINTS_TYPEFlowConstraints.getFlowConstraintsType()public String[] getCapabilityLanguageFlow()
CapabilityLanguageFlowgetCapabilityLanguageFlow in interface CapabilityLanguageFlowCapabilityLanguageFlow.getCapabilityLanguageFlow()public void setCapabilityLanguageFlow(String[] aFlow)
CapabilityLanguageFlowsetCapabilityLanguageFlow in interface CapabilityLanguageFlowaFlow - an array of Strings, each of which identifies the AnalysisEngine to invoke at that
position in the flow.CapabilityLanguageFlow.setCapabilityLanguageFlow(String[])public void remapIDs(Map<String,String> aIDMap)
FlowConstraintsremapIDs in interface FlowConstraintsaIDMap - a Map with String keys (the AE identifiers currently used by this object) and String
values (the new IDs). Any identifiers that do not appear in this Map will not be
remapped.FlowConstraints.remapIDs(Map)protected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.