org.davesag.generica.util.xml
Class XmlParser.Factory

java.lang.Object
  extended byorg.davesag.generica.util.xml.XmlParser.Factory
All Implemented Interfaces:
Serializable
Enclosing class:
XmlParser

public static class XmlParser.Factory
extends Object
implements Serializable

Inner Factory class that returns a named XmlParser object.

See Also:
Serialized Form

Constructor Summary
XmlParser.Factory()
           
 
Method Summary
static XmlParser getParser(String parserclass)
          Get the right parser given a name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlParser.Factory

public XmlParser.Factory()
Method Detail

getParser

public static XmlParser getParser(String parserclass)
                           throws ClassNotFoundException
Get the right parser given a name.

Parameters:
parserclass - The fully qualified class name.
Returns:
the right XmlParser.
Throws:
ClassNotFoundException - if the name was not a valid XmlParser


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.