Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

org::apache::uima::collection::impl::metadata::cpe::CasProcessorCpeObject Class Reference

Inheritance diagram for org::apache::uima::collection::impl::metadata::cpe::CasProcessorCpeObject:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::collection::impl::metadata::cpe::CasProcessorCpeObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addDeployParam (String aParamName, String aParamValue) throws CpeDescriptorException
void buildFromXMLElement (Element aElement, XMLParser aParser, ParsingOptions aOptions) throws InvalidXMLException
final void buildFromXMLElement (Element aElement, XMLParser aParser) throws InvalidXMLException
void buildFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
Object clone ()
boolean equals (Object aObj)
String getActionOnMaxError ()
String getActionOnMaxRestart ()
Class getAttributeClass (String aName)
Object getAttributeValue (String aName)
int getBatchSize ()
String getCasProcessorFilter ()
CpeCheckpoint getCheckpoint ()
CasProcessorConfigurationParameterSettings getConfigurationParameterSettings ()
CpeComponentDescriptor getCpeComponentDescriptor ()
String getDeployment ()
CasProcessorDeploymentParams getDeploymentParameters ()
CasProcessorDeploymentParams getDeploymentParams ()
String getDescriptor ()
CasProcessorErrorHandling getErrorHandling ()
CasProcessorFilter getFilter ()
boolean getIsParallelizable ()
int getMaxErrorCount ()
int getMaxErrorSampleSize ()
int getMaxRestartCount ()
String getName ()
Parameter[] getParameters ()
ConfigurationParameterSettings getParameterSettings ()
URL getRelativePathBase ()
CasProcessorRunInSeperateProcess getRunInSeparateProcess ()
String getSOFA ()
CpeSofaMappings getSofaNameMappings ()
URL getSourceUrl ()
String getSourceUrlString ()
int getTimeout ()
int hashCode ()
boolean isModifiable ()
List< NameClassPair > listAttributes ()
void setActionOnMaxError (String aAction)
void setActionOnMaxRestart (String aAction)
void setAttributeValue (String aName, Object aValue)
void setBatchSize (int aBatchSize)
void setCasProcessorFilter (CasProcessorFilter aFilter) throws CpeDescriptorException
void setCasProcessorFilter (String aFilterExpression)
void setCheckpoint (CpeCheckpoint checkpoint)
void setConfigurationParameterSettings (CasProcessorConfigurationParameterSettings settings) throws CpeDescriptorException
void setCpeComponentDescriptor (CpeComponentDescriptor aDescriptor) throws CpeDescriptorException
void setDeployment (String aDeployMode) throws CpeDescriptorException
void setDeploymentParameters (CasProcessorDeploymentParams parameters)
void setDescriptor (String aDescriptorPath) throws CpeDescriptorException
void setErrorHandling (CasProcessorErrorHandling aErrorHandling) throws CpeDescriptorException
void setFilter (CasProcessorFilter aFilter)
void setIsParallelizable (boolean isP)
void setMaxErrorCount (int aErrorCount)
void setMaxErrorSampleSize (int aErrorSampleSize)
void setMaxRestartCount (int aRestartCount)
void setName (String aName) throws CpeDescriptorException
void setParameters (Parameter[] aparameters)
void setParameterSettings (ConfigurationParameterSettings settings)
void setRunInSeparateProcess (CasProcessorRunInSeperateProcess process)
void setSOFA (String aSoFa) throws CpeDescriptorException
void setSofaNameMappings (CpeSofaMappings mappings)
void setSourceUrl (URL aUrl)
void setSourceUrlIfNull (URL aUrl)
void setTimeout (int aTimeoutValue)
String toString ()
void toXML (ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute) throws SAXException
void toXML (OutputStream aOutputStream) throws SAXException, IOException
void toXML (Writer aWriter) throws SAXException, IOException
void toXML (ContentHandler aContentHandler) throws SAXException

Protected Member Functions

void addDefaults () throws CpeDescriptorException
PropertyDescriptor[] getPropertyDescriptors () throws IntrospectionException
PropertyXmlInfo getPropertyXmlInfo (String aXmlElementName)
Class getWrapperClass (Class aPrimitiveType)
AttributesImpl getXMLAttributes ()
XmlizationInfo getXmlizationInfo ()
void readArrayPropertyValueFromXMLElement (PropertyXmlInfo aPropXmlInfo, Class aPropClass, Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
void readMapPropertyFromXml (String aPropName, Element aElement, String aKeyXmlAttribute, String aValueTagName, XMLParser aParser, XMLParser.ParsingOptions aOptions, boolean aValueIsArray) throws InvalidXMLException
void readPropertyValueFromXMLElement (PropertyXmlInfo aPropXmlInfo, Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions) throws InvalidXMLException
void readUnknownPropertyValueFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions, List< String > aKnownPropertyNames) throws InvalidXMLException
void setDeploymentParams (CasProcessorDeploymentParams aParams) throws CpeDescriptorException
void writeArrayPropertyAsElement (String aPropName, Class aPropClass, Object aValue, String aArrayElementTagName, String aNamespace, ContentHandler aContentHandler) throws SAXException
void writeMapPropertyToXml (String aPropName, String aXmlElementName, String aKeyXmlAttribute, String aValueTagName, boolean aOmitIfNull, String aNamespace, ContentHandler aContentHandler) throws SAXException
void writePropertyAsElement (PropertyXmlInfo aPropInfo, String aNamespace, ContentHandler aContentHandler) throws SAXException

Private Member Functions

int deleteParam (String aParamName) throws CpeDescriptorException
boolean validAction (String aAction)

Private Attributes

CpeCheckpoint checkpoint
CasProcessorConfigurationParameterSettings configurationParameterSettings
String deployment
CasProcessorDeploymentParams deploymentParameters
CpeComponentDescriptor descriptor
CasProcessorErrorHandling errorHandling
CasProcessorFilter filter
boolean isParallelizable
String name
Parameter[] parameters
ConfigurationParameterSettings parameterSettings
CasProcessorRunInSeperateProcess runInSeparateProcess
CpeSofaMappings sofaNameMappings

Static Private Attributes

static final String[] actionArray = { "continue", "terminate", "disable", "kill-pipeline" }
static final String[] deployArray = { "integrated", "remote", "local" }
static final long serialVersionUID = -2424851648116984900L
static final XmlizationInfo XMLIZATION_INFO

Detailed Description

Base class for all CpeCasProcessor objects in the reference implementation. Provides support for getting and setting common configuration settings shared by all CpeCasProcessor objects

Definition at line 60 of file CasProcessorCpeObject.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index