cz.zcu.fav.kiv.editor.config.handlers
Class AttributeXmlHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by cz.zcu.fav.kiv.editor.config.handlers.AttributeXmlHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class AttributeXmlHandler
extends org.xml.sax.helpers.DefaultHandler

The AttributeXmlHandler class is used for parsing the configuration file with attributes - attributes.xml.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Constructor Summary
AttributeXmlHandler(CommonTypes commonTypes)
          Initializes a newly created AttributeXmlHandler with ConfigData.
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 AttributeGroup[] getAttrGroupList()
           
 void setDocumentLocator(org.xml.sax.Locator locator)
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, 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

AttributeXmlHandler

public AttributeXmlHandler(CommonTypes commonTypes)
Initializes a newly created AttributeXmlHandler with ConfigData.

Parameters:
commonTypes - the common types of parameters.
Method Detail

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)
Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler
Overrides:
setDocumentLocator in class org.xml.sax.helpers.DefaultHandler

getAttrGroupList

public AttributeGroup[] getAttrGroupList()