org.qedeq.kernel.xml.handler.module
Class InitialFunctionDefinitionHandler

java.lang.Object
  extended by org.qedeq.kernel.xml.handler.common.AbstractSimpleHandler
      extended by org.qedeq.kernel.xml.handler.module.InitialFunctionDefinitionHandler

public class InitialFunctionDefinitionHandler
extends AbstractSimpleHandler

Parse a function definition.

Author:
Michael Meyling

Constructor Summary
InitialFunctionDefinitionHandler(AbstractSimpleHandler handler)
          Deals with definitions.
 
Method Summary
 void characters(java.lang.String name, java.lang.String data)
          Called at end of element elementName.
 void endElement(java.lang.String name)
          Called at end of element elementName.
 InitialFunctionDefinitionVo getDefinition()
          Get definition.
 void init()
          Must be called before a handler should parse a new section.
 void startElement(java.lang.String name, SimpleAttributes attributes)
          Called at begin of element elementName.
 
Methods inherited from class org.qedeq.kernel.xml.handler.common.AbstractSimpleHandler
changeHandler, getLevel, getPlugin, getStartTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialFunctionDefinitionHandler

public InitialFunctionDefinitionHandler(AbstractSimpleHandler handler)
Deals with definitions.

Parameters:
handler - Parent handler.
Method Detail

init

public final void init()
Description copied from class: AbstractSimpleHandler
Must be called before a handler should parse a new section.

Specified by:
init in class AbstractSimpleHandler

getDefinition

public final InitialFunctionDefinitionVo getDefinition()
Get definition.

Returns:
Definition.

startElement

public final void startElement(java.lang.String name,
                               SimpleAttributes attributes)
                        throws XmlSyntaxException
Description copied from class: AbstractSimpleHandler
Called at begin of element elementName. Must be overwritten.

Specified by:
startElement in class AbstractSimpleHandler
Parameters:
name - Tag name.
attributes - Tag attributes.
Throws:
XmlSyntaxException - There is a semantic error in this event occurrence.

endElement

public final void endElement(java.lang.String name)
                      throws XmlSyntaxException
Description copied from class: AbstractSimpleHandler
Called at end of element elementName. Must be overwritten.

Specified by:
endElement in class AbstractSimpleHandler
Parameters:
name - Tag name.
Throws:
XmlSyntaxException - There is a semantic error in this event occurrence.

characters

public final void characters(java.lang.String name,
                             java.lang.String data)
Description copied from class: AbstractSimpleHandler
Called at end of element elementName. Must be overwritten if you expect character data.

Overrides:
characters in class AbstractSimpleHandler
Parameters:
name - Tag name.
data - String value.


Copyright © 2014. All Rights Reserved.