erland.util
Class XMLParser
java.lang.Object
erland.util.XMLParser
public class XMLParser
- extends Object
This is a singleton object that makes it possible to set
and get the currently active XML parser
- Author:
- Erland Isaksson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLParser
public XMLParser()
setInstance
public static void setInstance(XMLParserInterface parser)
- Change the currently active XML parser
- Parameters:
parser
- The new XML parser to user
getInstance
public static XMLParserInterface getInstance()
- Get the currently active XML parser, if no parser has been
set previously it will be created automatically when this
method is called
- Returns:
- The currently active XML parser
Copyright © 2003-2005 Erland Isaksson. All Rights Reserved.