JCas
v0.3.1

cas.config
Class JCasExtendedAuthorizationTag

java.lang.Object
  extended bycas.xml.AbstractCasSaxTagHandler
      extended bycas.config.JCasExtendedAuthorizationTag
All Implemented Interfaces:
CasSaxTagHandler

public class JCasExtendedAuthorizationTag
extends AbstractCasSaxTagHandler

Configuration object for extended authorization information.

Version:
1.0
Author:
Ralph Schuster

Field Summary
protected  JCasFunctionTag[] functions
          The functions
protected static String NAME
          The tag name
protected static String[] parents
          The parents
protected  JCasQueryTag[] queries
          The queries
 
Constructor Summary
JCasExtendedAuthorizationTag()
          Creates a new instance of JCasExtendedAuthorizationTag
 
Method Summary
protected  AbstractCasSaxTagHandler createHandler(String tagName, Attributes attributes)
          Returns a new instance of the handler for the specified sub tag.
 JCasFunctionTag[] getFunctions()
          Returns the functions
 String[] getParentTagNames()
          Returns the tag names of all possible parents.
 JCasQueryTag[] getQueries()
          Returns the queries
 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

NAME

protected static String NAME
The tag name


parents

protected static String[] parents
The parents


functions

protected JCasFunctionTag[] functions
The functions


queries

protected JCasQueryTag[] queries
The queries

Constructor Detail

JCasExtendedAuthorizationTag

public JCasExtendedAuthorizationTag()
Creates a new instance of JCasExtendedAuthorizationTag

Method Detail

createHandler

protected AbstractCasSaxTagHandler createHandler(String tagName,
                                                 Attributes attributes)
Description copied from class: AbstractCasSaxTagHandler
Returns a new instance of the handler for the specified sub tag.

Specified by:
createHandler in class AbstractCasSaxTagHandler
Parameters:
tagName - - name of the sub tag
Returns:
new instance of sub tag handler or null

getParentTagNames

public String[] getParentTagNames()
Description copied from class: AbstractCasSaxTagHandler
Returns the tag names of all possible parents.

Specified by:
getParentTagNames in class AbstractCasSaxTagHandler
Returns:
- the tag names of possible parents

getTagName

public String getTagName()
Description copied from interface: CasSaxTagHandler
Returns the tag name this handler will take care of.

Returns:
- a tag name.

tagCompleted

public void tagCompleted()
                  throws SAXException
Description copied from class: AbstractCasSaxTagHandler
Validates the configuration. By default this method does nothing but handlers should override to check the values.

Specified by:
tagCompleted in interface CasSaxTagHandler
Overrides:
tagCompleted in class AbstractCasSaxTagHandler
Throws:
SAXException

getQueries

public JCasQueryTag[] getQueries()
Returns the queries


getFunctions

public JCasFunctionTag[] getFunctions()
Returns the functions


JCas
v0.3.1