|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cas.xml.AbstractCasSaxTagHandler cas.config.JCasInstancesTag
Configuration object for the instances
Field Summary | |
protected Map |
instances
The instances by name |
protected static String |
NAME
The tag name |
protected static String[] |
parents
The parents |
Constructor Summary | |
JCasInstancesTag()
Creates a new instance of JCasInstancesTag |
Method Summary | |
protected AbstractCasSaxTagHandler |
createHandler(String tagName,
Attributes attributes)
Returns a new instance of the handler for the specified sub tag. |
Map |
getInstances()
Returns the instances in a map with its names as keys. |
String[] |
getParentTagNames()
Returns the tag names of all possible parents. |
String |
getTagName()
Returns the tag name this handler will take care of. |
void |
tagCompleted()
Validates the configuration. |
Methods inherited from class cas.xml.AbstractCasSaxTagHandler |
characters, clear, endElement, getHandler, getSubHandler, getSubHandlerCount, getSubHandlers, getSubTag, getSubTag, getSubTagCount, getSubTagNames, getSubTags, ignoresUnknownTags, setAttributes, setIgnoreUnknownTags, startElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static String NAME
protected static String[] parents
protected Map instances
Constructor Detail |
public JCasInstancesTag()
Method Detail |
protected AbstractCasSaxTagHandler createHandler(String tagName, Attributes attributes)
AbstractCasSaxTagHandler
createHandler
in class AbstractCasSaxTagHandler
tagName
- - name of the sub tag
public String[] getParentTagNames()
AbstractCasSaxTagHandler
getParentTagNames
in class AbstractCasSaxTagHandler
public String getTagName()
CasSaxTagHandler
public void tagCompleted() throws SAXException
AbstractCasSaxTagHandler
tagCompleted
in interface CasSaxTagHandler
tagCompleted
in class AbstractCasSaxTagHandler
SAXException
public Map getInstances()
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |