public class CpeCasProcessorsImpl
extends org.apache.uima.resource.metadata.impl.MetaDataObject_impl
implements org.apache.uima.collection.metadata.CpeCasProcessors
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 |
|---|
CpeCasProcessorsImpl()
Instantiates a new cpe cas processors impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCpeCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor) |
void |
addCpeCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor,
int aInsertPosition) |
void |
buildFromXMLElement(Element aElement,
org.apache.uima.util.XMLParser aParser,
org.apache.uima.util.XMLParser.ParsingOptions aOptions)
Overridden to read Cas Processor attributes.
|
org.apache.uima.collection.metadata.CpeCasProcessor[] |
getAllCpeCasProcessors() |
int |
getCasPoolSize() |
int |
getConcurrentPUCount() |
org.apache.uima.collection.metadata.CpeCasProcessor |
getCpeCasProcessor(int aPosition) |
boolean |
getDropCasOnException() |
int |
getInputQueueSize() |
int |
getOutputQueueSize() |
int |
getPoolSize()
Gets the pool size.
|
protected org.xml.sax.helpers.AttributesImpl |
getXMLAttributes()
Overridden to handle Cas Processor attributes.
|
protected org.apache.uima.resource.metadata.impl.XmlizationInfo |
getXmlizationInfo() |
boolean |
isDropCasOnException()
Checks if is drop cas on exception.
|
void |
removeAllCpeCasProcessors() |
void |
removeCpeCasProcessor(int aPosition) |
org.apache.uima.collection.metadata.CpeCasProcessor[] |
removeCpeCasProcessor(int aPosition,
boolean flag)
New API 01/06/2006.
|
void |
setAllCpeCasProcessors(org.apache.uima.collection.metadata.CpeCasProcessor[] aCpeProcessors)
Sets the all cpe cas processors.
|
void |
setConcurrentPUCount(int aConcurrentPUCount) |
void |
setDropCasOnException(boolean aDropCasOnException)
Sets the drop cas on exception.
|
void |
setInputQueueSize(int aInputQueueSize) |
void |
setOutputQueueSize(int aOutputQueueSize) |
void |
setPoolSize(int aPoolSize) |
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 CpeCasProcessorsImpl()
public void setOutputQueueSize(int aOutputQueueSize)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setOutputQueueSize in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic int getOutputQueueSize()
getOutputQueueSize in interface org.apache.uima.collection.metadata.CpeCasProcessorspublic void setInputQueueSize(int aInputQueueSize)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setInputQueueSize in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic int getInputQueueSize()
getInputQueueSize in interface org.apache.uima.collection.metadata.CpeCasProcessorspublic void setConcurrentPUCount(int aConcurrentPUCount)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setConcurrentPUCount in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic int getConcurrentPUCount()
getConcurrentPUCount in interface org.apache.uima.collection.metadata.CpeCasProcessorspublic void addCpeCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor,
int aInsertPosition)
throws org.apache.uima.collection.metadata.CpeDescriptorException
addCpeCasProcessor in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void addCpeCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
addCpeCasProcessor in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic org.apache.uima.collection.metadata.CpeCasProcessor getCpeCasProcessor(int aPosition)
throws org.apache.uima.collection.metadata.CpeDescriptorException
getCpeCasProcessor in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic org.apache.uima.collection.metadata.CpeCasProcessor[] getAllCpeCasProcessors()
throws org.apache.uima.collection.metadata.CpeDescriptorException
getAllCpeCasProcessors in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setAllCpeCasProcessors(org.apache.uima.collection.metadata.CpeCasProcessor[] aCpeProcessors)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aCpeProcessors - the new all cpe cas processorsorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void removeCpeCasProcessor(int aPosition)
throws org.apache.uima.collection.metadata.CpeDescriptorException
removeCpeCasProcessor in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic org.apache.uima.collection.metadata.CpeCasProcessor[] removeCpeCasProcessor(int aPosition,
boolean flag)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aPosition - the a positionflag - the flagorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void removeAllCpeCasProcessors()
throws org.apache.uima.collection.metadata.CpeDescriptorException
removeAllCpeCasProcessors in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setPoolSize(int aPoolSize)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setPoolSize in interface org.apache.uima.collection.metadata.CpeCasProcessorsorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic int getPoolSize()
throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void setDropCasOnException(boolean aDropCasOnException)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aDropCasOnException - the new drop cas on exceptionorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic boolean getDropCasOnException()
getDropCasOnException in interface org.apache.uima.collection.metadata.CpeCasProcessorspublic 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 int getCasPoolSize()
getCasPoolSize in interface org.apache.uima.collection.metadata.CpeCasProcessorspublic boolean isDropCasOnException()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.