Hilbert II - Version 0.03.04

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

java.lang.Object
  extended byorg.qedeq.kernel.xml.parser.AbstractSimpleHandler
      extended byorg.qedeq.kernel.xml.handler.module.SectionHandler

public class SectionHandler
extends AbstractSimpleHandler

Handle sections.

Version:
$Revision: 1.15 $

Field Summary
static String INTRODUCTION_TAG
          Tag for introduction part.
static String SECTION_TAG
          Tag for section part.
static String TITLE_TAG
          Tag for title part.
 
Constructor Summary
SectionHandler(AbstractSimpleHandler handler)
          Constructor.
 
Method Summary
 void endElement(String name)
          Called at end of element elementName.
 SectionVo getSection()
          Get section.
 void init()
          Must be called before a handler should parse a new section.
 void startElement(String name, SimpleAttributes attributes)
          Called at begin of element elementName.
 
Methods inherited from class org.qedeq.kernel.xml.parser.AbstractSimpleHandler
changeHandler, characters, getLevel, getStartTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTRODUCTION_TAG

public static final String INTRODUCTION_TAG
Tag for introduction part.

See Also:
Constant Field Values

SECTION_TAG

public static final String SECTION_TAG
Tag for section part.

See Also:
Constant Field Values

TITLE_TAG

public static final String TITLE_TAG
Tag for title part.

See Also:
Constant Field Values
Constructor Detail

SectionHandler

public SectionHandler(AbstractSimpleHandler handler)
Constructor.

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

getSection

public final SectionVo getSection()
Get section.

Returns:
Section.

startElement

public final void startElement(String name,
                               SimpleAttributes attributes)
                        throws SyntaxException
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:
SyntaxException - There is a semantic error in this event occurrence.

endElement

public final void endElement(String name)
                      throws SyntaxException
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:
SyntaxException - There is a semantic error in this event occurrence.

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.