|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.analysis_engine.metadata.impl.CapabilityLanguageFlow_impl
public class CapabilityLanguageFlow_impl
A 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.
Field Summary |
---|
Fields inherited from interface org.apache.uima.analysis_engine.metadata.CapabilityLanguageFlow |
---|
FLOW_CONSTRAINTS_TYPE |
Constructor Summary | |
---|---|
CapabilityLanguageFlow_impl()
|
Method Summary | |
---|---|
java.lang.String[] |
getCapabilityLanguageFlow()
Returns the flow as an array. |
java.lang.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(java.util.Map<java.lang.String,java.lang.String> aIDMap)
Remaps the AE identifier Strings used in this FlowConstraints object. |
void |
setCapabilityLanguageFlow(java.lang.String[] aFlow)
Sets the CapabilityLanguageFlow. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Constructor Detail |
---|
public CapabilityLanguageFlow_impl()
Method Detail |
---|
public java.lang.String getFlowConstraintsType()
CapabilityLanguageFlow
FlowConstraints
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 CapabilityLanguageFlow
getFlowConstraintsType
in interface FlowConstraints
CapabilityLanguageFlow.FLOW_CONSTRAINTS_TYPE
FlowConstraints.getFlowConstraintsType()
public java.lang.String[] getCapabilityLanguageFlow()
CapabilityLanguageFlow
getCapabilityLanguageFlow
in interface CapabilityLanguageFlow
CapabilityLanguageFlow.getCapabilityLanguageFlow()
public void setCapabilityLanguageFlow(java.lang.String[] aFlow)
CapabilityLanguageFlow
setCapabilityLanguageFlow
in interface CapabilityLanguageFlow
aFlow
- an array of Strings, each of which identifies the AnalysisEngine to invoke at that
position in the flow.CapabilityLanguageFlow.setCapabilityLanguageFlow(String[])
public void remapIDs(java.util.Map<java.lang.String,java.lang.String> aIDMap)
FlowConstraints
remapIDs
in interface FlowConstraints
aIDMap
- 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_impl
getXmlizationInfo
in class MetaDataObject_impl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |