it.negro.jajb
Class ConfigHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by it.negro.jajb.ConfigHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

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

This is the DefaultHandler that reads and configures the xml configuration file informations

Author:
Gabriele Negro

Method Summary
 java.util.Map<java.lang.String,Converter> getConverters()
           
 java.util.List<java.lang.String> getMappingFiles()
           
 ProxyResolver getProxyResolver()
           
protected static ConfigHandler newInstance()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

protected static ConfigHandler newInstance()

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String name,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

getConverters

public java.util.Map<java.lang.String,Converter> getConverters()

getMappingFiles

public java.util.List<java.lang.String> getMappingFiles()

getProxyResolver

public ProxyResolver getProxyResolver()


Copyright © 2008. All Rights Reserved.