|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.n3.nanoxml.XMLParserFactory
Creates an XML parser.
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. |
Constructor Summary | |
XMLParserFactory()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_CLASS
public static final String CLASS_KEY
Constructor Detail |
public XMLParserFactory()
Method Detail |
public static IXMLParser createDefaultXMLParser() throws ClassNotFoundException, InstantiationException, IllegalAccessException
ClassNotFoundException
- if the class of the parser or validator could not be found.
InstantiationException
- if the parser could not be created
IllegalAccessException
- if the parser could not be createdDEFAULT_CLASS
,
CLASS_KEY
public static IXMLParser createDefaultXMLParser(IXMLBuilder builder) throws ClassNotFoundException, InstantiationException, IllegalAccessException
builder
- the XML builder.
ClassNotFoundException
- if the class of the parser could not be found.
InstantiationException
- if the parser could not be created
IllegalAccessException
- if the parser could not be createdDEFAULT_CLASS
,
CLASS_KEY
public static IXMLParser createXMLParser(String className, IXMLBuilder builder) throws ClassNotFoundException, InstantiationException, IllegalAccessException
className
- the name of the class of the XML parserbuilder
- the XML builder.
ClassNotFoundException
- if the class of the parser could not be found.
InstantiationException
- if the parser could not be created
IllegalAccessException
- if the parser could not be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |