public class CasProcessorExecutableImpl
extends org.apache.uima.resource.metadata.impl.MetaDataObject_impl
implements org.apache.uima.collection.metadata.CasProcessorExecutable
org.apache.uima.resource.metadata.impl.MetaDataObject_impl.MetaDataAttr, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.SerialContext, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.Serializer| Constructor and Description |
|---|
CasProcessorExecutableImpl()
Instantiates a new cas processor executable impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCasProcessorExecArg(org.apache.uima.collection.metadata.CasProcessorExecArg aArg) |
void |
addCasProcessorRuntimeEnvParam(org.apache.uima.collection.metadata.CasProcessorRuntimeEnvParam aParam)
Adds the cas processor runtime env param.
|
void |
buildFromXMLElement(Element aElement,
org.apache.uima.util.XMLParser aParser,
org.apache.uima.util.XMLParser.ParsingOptions aOptions)
Overridden to read "name" and "value" attributes.
|
org.apache.uima.collection.metadata.CasProcessorExecArg[] |
getAllCasProcessorExecArgs() |
protected org.apache.uima.collection.metadata.CasProcessorExecArg[] |
getArgs()
Gets the args.
|
org.apache.uima.collection.metadata.CasProcessorExecArg |
getCasProcessorExecArg(int aIndex) |
org.apache.uima.collection.metadata.CasProcessorExecArgs |
getCASProcessorExecArgs()
Gets the CAS processor exec args.
|
String |
getDir()
Gets the dir.
|
ArrayList |
getEnvs()
Gets the envs.
|
String |
getExecutable()
Gets the executable.
|
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to handle "name" and "value" attributes.
|
protected org.apache.uima.resource.metadata.impl.XmlizationInfo |
getXmlizationInfo() |
void |
removeCasProcessorExecArg(int aIndex) |
protected void |
setArgs(org.apache.uima.collection.metadata.CasProcessorExecArg[] aargs)
Sets the args.
|
void |
setCASProcessorExecArgs(org.apache.uima.collection.metadata.CasProcessorExecArgs aArgs)
Sets the CAS processor exec args.
|
void |
setDir(String string)
Sets the dir.
|
void |
setEnvs(ArrayList params)
Sets the envs.
|
void |
setExecutable(String string)
Sets the executable.
|
void |
toXML(ContentHandler aContentHandler,
boolean aWriteDefaultNamespaceAttribute) |
buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitpublic CasProcessorExecutableImpl()
public void setCASProcessorExecArgs(org.apache.uima.collection.metadata.CasProcessorExecArgs aArgs)
aArgs - the new CAS processor exec argspublic org.apache.uima.collection.metadata.CasProcessorExecArgs getCASProcessorExecArgs()
public void addCasProcessorExecArg(org.apache.uima.collection.metadata.CasProcessorExecArg aArg)
addCasProcessorExecArg in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic void addCasProcessorRuntimeEnvParam(org.apache.uima.collection.metadata.CasProcessorRuntimeEnvParam aParam)
aParam - the a parampublic org.apache.uima.collection.metadata.CasProcessorExecArg getCasProcessorExecArg(int aIndex)
getCasProcessorExecArg in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic org.apache.uima.collection.metadata.CasProcessorExecArg[] getAllCasProcessorExecArgs()
getAllCasProcessorExecArgs in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic void removeCasProcessorExecArg(int aIndex)
removeCasProcessorExecArg in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic String getDir()
public String getExecutable()
getExecutable in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic void setDir(String string)
string - the new dirpublic void setExecutable(String string)
setExecutable in interface org.apache.uima.collection.metadata.CasProcessorExecutablestring - the new executableprotected org.apache.uima.collection.metadata.CasProcessorExecArg[] getArgs()
protected void setArgs(org.apache.uima.collection.metadata.CasProcessorExecArg[] aargs)
aargs - the new argspublic void buildFromXMLElement(Element aElement, org.apache.uima.util.XMLParser aParser, org.apache.uima.util.XMLParser.ParsingOptions aOptions) throws org.apache.uima.util.InvalidXMLException
buildFromXMLElement in interface org.apache.uima.util.XMLizablebuildFromXMLElement in class org.apache.uima.resource.metadata.impl.MetaDataObject_implaElement - the a elementaParser - the a parseraOptions - the a optionsorg.apache.uima.util.InvalidXMLException - the invalid XML exceptionMetaDataObject_impl.buildFromXMLElement(org.w3c.dom.Element,
org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)public void toXML(ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute) throws SAXException
toXML in interface org.apache.uima.util.XMLizabletoXML in class org.apache.uima.resource.metadata.impl.MetaDataObject_implSAXExceptionprotected org.xml.sax.helpers.AttributesImpl getXMLAttributes()
getXMLAttributes in class org.apache.uima.resource.metadata.impl.MetaDataObject_implMetaDataObject_impl.getXMLAttributes()protected org.apache.uima.resource.metadata.impl.XmlizationInfo getXmlizationInfo()
getXmlizationInfo in class org.apache.uima.resource.metadata.impl.MetaDataObject_implpublic ArrayList getEnvs()
getEnvs in interface org.apache.uima.collection.metadata.CasProcessorExecutablepublic void setEnvs(ArrayList params)
setEnvs in interface org.apache.uima.collection.metadata.CasProcessorExecutableparams - the new envsCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.