|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.uima.adapter.vinci.util.Descriptor
public class Descriptor
Instance of this class handles parsing of the xml descriptor files. It also retrieves values of the named attributes of the named elements.
Constructor Summary | |
---|---|
Descriptor(java.lang.String filePath)
Constructor responsible for parsing the descriptor file named in filePath. |
Method Summary | |
---|---|
java.lang.String |
getFilterString()
Returns the filterString. |
int |
getInstanceCount()
Returns the instanceCount. |
java.lang.String |
getNamingServiceHost()
|
java.lang.String |
getResourceSpecifierPath()
Returns the resourceSpecifierPath. |
int |
getServerSocketTimeout()
|
java.lang.String |
getServiceName()
Returns the serviceName. |
int |
getThreadPoolMaxSize()
|
int |
getThreadPoolMinSize()
|
void |
setFilterString(java.lang.String filterString)
Sets the filterString. |
void |
setInstanceCount(int instanceCount)
Sets the instanceCount. |
void |
setNamingServiceHost(java.lang.String namingServiceHost)
|
void |
setResourceSpecifierPath(java.lang.String resourceSpecifierPath)
Sets the resourceSpecifierPath. |
void |
setServerSocketTimeout(int serverSocketTimeout)
|
void |
setServiceName(java.lang.String serviceName)
Sets the serviceName. |
void |
setThreadPoolMaxSize(int threadPoolMaxSize)
|
void |
setThreadPoolMinSize(int threadPoolMinSize)
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attribs)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Descriptor(java.lang.String filePath)
Fully
- qualified path the xml descriptor.Method Detail |
---|
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attribs)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public int getThreadPoolMaxSize()
public void setThreadPoolMaxSize(int threadPoolMaxSize)
public int getThreadPoolMinSize()
public void setThreadPoolMinSize(int threadPoolMinSize)
public int getInstanceCount()
public java.lang.String getResourceSpecifierPath()
public java.lang.String getServiceName()
public void setInstanceCount(int instanceCount)
instanceCount
- The instanceCount to setpublic void setResourceSpecifierPath(java.lang.String resourceSpecifierPath)
resourceSpecifierPath
- The resourceSpecifierPath to setpublic void setServiceName(java.lang.String serviceName)
serviceName
- The serviceName to setpublic java.lang.String getFilterString()
public void setFilterString(java.lang.String filterString)
filterString
- The filterString to setpublic java.lang.String getNamingServiceHost()
public void setNamingServiceHost(java.lang.String namingServiceHost)
public int getServerSocketTimeout()
public void setServerSocketTimeout(int serverSocketTimeout)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |