Class FixedFlow_impl
- java.lang.Object
-
- org.apache.uima.resource.metadata.impl.MetaDataObject_impl
-
- org.apache.uima.analysis_engine.metadata.impl.FixedFlow_impl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,FixedFlow,FlowConstraints,MetaDataObject,XMLizable
public class FixedFlow_impl extends MetaDataObject_impl implements FixedFlow
Reference implementation ofFixedFlow.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String[]mFixedFlowArray of AnalysisEngine identifiers indicating the fixed flow.(package private) static longserialVersionUIDprivate static XmlizationInfoXMLIZATION_INFO-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
Fields inherited from interface org.apache.uima.analysis_engine.metadata.FixedFlow
FLOW_CONSTRAINTS_TYPE
-
-
Constructor Summary
Constructors Constructor Description FixedFlow_impl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getFixedFlow()Returns the flow as an array.java.lang.StringgetFlowConstraintsType()Gets the type of thisFlowConstraintsobject.protected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidremapIDs(java.util.Map<java.lang.String,java.lang.String> aIDMap)Remaps the AE identifier Strings used in this FlowConstraints object.voidsetFixedFlow(java.lang.String[] aFlow)Sets the fixed flow.-
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
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, writePropertyAsElement
-
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
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
mFixedFlow
private java.lang.String[] mFixedFlow
Array of AnalysisEngine identifiers indicating the fixed flow.
-
XMLIZATION_INFO
private static final XmlizationInfo XMLIZATION_INFO
-
-
Method Detail
-
getFlowConstraintsType
public java.lang.String getFlowConstraintsType()
Description copied from interface:FixedFlowGets the type of thisFlowConstraintsobject. Each sub-interface ofFlowConstraintshas 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.- Specified by:
getFlowConstraintsTypein interfaceFixedFlow- Specified by:
getFlowConstraintsTypein interfaceFlowConstraints- Returns:
FixedFlow.FLOW_CONSTRAINTS_TYPE- See Also:
FixedFlow.getFlowConstraintsType()
-
getFixedFlow
public java.lang.String[] getFixedFlow()
Description copied from interface:FixedFlowReturns the flow as an array. Each element of the array is a String that identifies the AnalysisEngine to invoke at that position in the flow.- Specified by:
getFixedFlowin interfaceFixedFlow- Returns:
- an array of AE identifiers.
- See Also:
FixedFlow.getFixedFlow()
-
setFixedFlow
public void setFixedFlow(java.lang.String[] aFlow)
Description copied from interface:FixedFlowSets the fixed flow.- Specified by:
setFixedFlowin interfaceFixedFlow- Parameters:
aFlow- an array of Strings, each of which identifies the AnalysisEngine to invoke at that position in the flow.- See Also:
FixedFlow.setFixedFlow(String[])
-
remapIDs
public void remapIDs(java.util.Map<java.lang.String,java.lang.String> aIDMap)
Description copied from interface:FlowConstraintsRemaps the AE identifier Strings used in this FlowConstraints object. This method is destructive.- Specified by:
remapIDsin interfaceFlowConstraints- Parameters:
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.- See Also:
FlowConstraints.remapIDs(Map)
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-
-