net.n3.nanoxml
public class XMLParserFactory extends Object
Version: $Name: RELEASE_2_2_1 $, $Revision: 1.3 $
Field Summary | |
---|---|
static String | CLASS_KEY
The Java properties key of the XML parser class name. |
static String | DEFAULT_CLASS
The class name of the default XML parser. |
Method Summary | |
---|---|
static IXMLParser | createDefaultXMLParser()
Creates a default parser.
|
static IXMLParser | createDefaultXMLParser(IXMLBuilder builder)
Creates a default parser.
|
static IXMLParser | createXMLParser(String className, IXMLBuilder builder)
Creates a parser.
|
Returns: the non-null parser.
Throws: java.lang.ClassNotFoundException if the class of the parser or validator could not be found. java.lang.InstantiationException if the parser could not be created java.lang.IllegalAccessException if the parser could not be created
See Also: DEFAULT_CLASS CLASS_KEY
Parameters: builder the XML builder.
Returns: the non-null parser.
Throws: java.lang.ClassNotFoundException if the class of the parser could not be found. java.lang.InstantiationException if the parser could not be created java.lang.IllegalAccessException if the parser could not be created
See Also: DEFAULT_CLASS CLASS_KEY
Parameters: className the name of the class of the XML parser builder the XML builder.
Returns: the non-null parser.
Throws: java.lang.ClassNotFoundException if the class of the parser could not be found. java.lang.InstantiationException if the parser could not be created java.lang.IllegalAccessException if the parser could not be created