public class OperationalProperties_impl extends MetaDataObject_impl implements OperationalProperties
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.SerializerserialContext| 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, writePropertyAsElementpublic boolean getModifiesCas()
OperationalPropertiesgetModifiesCas in interface OperationalPropertiespublic boolean isMultipleDeploymentAllowed()
OperationalPropertiesisMultipleDeploymentAllowed in interface OperationalPropertiespublic void setModifiesCas(boolean aModifiesCas)
OperationalPropertiessetModifiesCas in interface OperationalPropertiesaModifiesCas - true if this component modifies the CAS, false if it does not.public void setMultipleDeploymentAllowed(boolean aMultipleDeploymentAllowed)
OperationalPropertiessetMultipleDeploymentAllowed in interface OperationalPropertiesaMultipleDeploymentAllowed - true if multiple instances can be run in parallel, false if notpublic boolean getOutputsNewCASes()
OperationalPropertiesAnalysisEngine.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 OperationalPropertiespublic void setOutputsNewCASes(boolean aOutputsNewCASes)
OperationalPropertiesAnalysisEngine.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 OperationalPropertiesaOutputsNewCASes - true if this component may output new CASes, false if it does notprotected XmlizationInfo getXmlizationInfo()
MetaDataObject_implgetXmlizationInfo in class MetaDataObject_implpublic void buildFromXMLElement(Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
MetaDataObject_implXMLParser.
It is overridden by specific Java impl classes to provide additional
defaulting (e.g. see AnalysisEngineDescription_impl)buildFromXMLElement in interface XMLizablebuildFromXMLElement in class MetaDataObject_implaElement - 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.