public class OperationalProperties_impl extends MetaDataObject_impl implements OperationalProperties
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
Constructor and Description |
---|
OperationalProperties_impl() |
Modifier and Type | Method and Description |
---|---|
void |
buildFromXMLElement(Element aElement,
XMLParser aParser,
XMLParser.ParsingOptions aOptions)
Initializes this object from its XML DOM representation.
|
boolean |
getModifiesCas()
Gets whether this component will modify the CAS.
|
boolean |
getOutputsNewCASes()
Gets whether this AnalysisEngine may output new CASes.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
boolean |
isMultipleDeploymentAllowed()
Gets whether multiple instances of this component can be run in parallel, each receiving a
subset of the documents from a collection.
|
void |
setModifiesCas(boolean aModifiesCas)
Sets whether this component will modify the CAS.
|
void |
setMultipleDeploymentAllowed(boolean aMultipleDeploymentAllowed)
Sets whether multiple instances of this component can be run in parallel, each receiving a
subset of the documents from a collection.
|
void |
setOutputsNewCASes(boolean aOutputsNewCASes)
Sets whether this AnalysisEngine may output new CASes.
|
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
public boolean getModifiesCas()
OperationalProperties
getModifiesCas
in interface OperationalProperties
public boolean isMultipleDeploymentAllowed()
OperationalProperties
isMultipleDeploymentAllowed
in interface OperationalProperties
public void setModifiesCas(boolean aModifiesCas)
OperationalProperties
setModifiesCas
in interface OperationalProperties
aModifiesCas
- true if this component modifies the CAS, false if it does not.public void setMultipleDeploymentAllowed(boolean aMultipleDeploymentAllowed)
OperationalProperties
setMultipleDeploymentAllowed
in interface OperationalProperties
aMultipleDeploymentAllowed
- true if multiple instances can be run in parallel, false if notpublic boolean getOutputsNewCASes()
OperationalProperties
AnalysisEngine.processAndOutputNewCASes(CAS)
to pass a CAS to
this this AnalysisEngine and then step through all of the output CASes that it produces. For
example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a
separate CAS.getOutputsNewCASes
in interface OperationalProperties
public void setOutputsNewCASes(boolean aOutputsNewCASes)
OperationalProperties
AnalysisEngine.processAndOutputNewCASes(CAS)
to pass a CAS to
this this AnalysisEngine and then step through all of the output CASes that it produces. For
example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a
separate CAS.setOutputsNewCASes
in interface OperationalProperties
aOutputsNewCASes
- true if this component may output new CASes, false if it does notprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
public void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
MetaDataObject_impl
XMLParser
.
It is overridden by specific Java impl classes to provide additional
defaulting (e.g. see AnalysisEngineDescription_impl)buildFromXMLElement
in interface XMLizable
buildFromXMLElement
in class MetaDataObject_impl
aElement
- the XML element that represents this object.aParser
- a reference to the UIMA XMLParser
. The
XMLParser.buildObject(Element)
method can be used to construct sub-objects.aOptions
- option settingsInvalidXMLException
- if the input XML element does not specify a valid objectCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.