GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse
Interface ParserFactory<T extends Global>

All Known Implementing Classes:
NonValidatingParserFactory, ValidatingParserFactory

public interface ParserFactory<T extends Global>

Factory for new Parser instances.

Implementation of this interface is optional.


Nested Class Summary
static class ParserFactory.FactoryConfigurationError
           Error thrown when a ParserFactory cannot be created.
static class ParserFactory.ParserConfigurationException
           Exception thrown when a Parser cannot be created.
 
Method Summary
 Parser<T> newParser()
           Create a new Parser.
 

Method Detail

newParser

Parser<T> newParser()

Create a new Parser.

Throws:
ParserFactory.ParserConfigurationException - if a Parser cannot be created.

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