GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse.sax
Class NonValidatingParserFactory<T extends Global>

java.lang.Object
  extended by ca.gorman.xml.parse.sax.NonValidatingParserFactory<T>
All Implemented Interfaces:
ParserFactory<T>

public abstract class NonValidatingParserFactory<T extends Global>
extends Object
implements ParserFactory<T>

Factory for new nonvalidating Parser instances.


Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.gorman.xml.parse.ParserFactory
ParserFactory.FactoryConfigurationError, ParserFactory.ParserConfigurationException
 
Constructor Summary
protected NonValidatingParserFactory(SAXParserFactory saxParserFactory)
           
 
Method Summary
static
<T extends Global>
NonValidatingParserFactory<T>
newInstance()
           Create a new ParserFactory.
 XMLParser<T> newParser()
           Create a new Parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonValidatingParserFactory

protected NonValidatingParserFactory(SAXParserFactory saxParserFactory)
Method Detail

newInstance

public static <T extends Global> NonValidatingParserFactory<T> newInstance()

Create a new ParserFactory.

Throws:
FactoryConfigurationError - if a ParserFactory cannot be created.

newParser

public XMLParser<T> newParser()
Description copied from interface: ParserFactory

Create a new Parser.

Specified by:
newParser in interface ParserFactory<T extends Global>

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License