org.eclipse.xsd.util
Interface JAXPPool

All Known Implementing Classes:
DefaultJAXPPool

public interface JAXPPool

This interface defines pool that can be used to cache and retrieve SAX parser, DOM parser and Transformer.


Method Summary
 DocumentBuilder getDocumentBuilder(ErrorHandler errorHandler)
           
 SAXParser getSAXParser(LexicalHandler lexicalHandler)
           
 Transformer getTransformer(String encoding)
           
 void releaseDocumentBuilder(DocumentBuilder documentBuilder)
           
 void releaseSAXParser(SAXParser parser)
           
 void releaseTransformer(Transformer transformer)
           
 

Method Detail

getDocumentBuilder

public DocumentBuilder getDocumentBuilder(ErrorHandler errorHandler)
                                   throws ParserConfigurationException,
                                          SAXException
Throws:
ParserConfigurationException
SAXException

releaseDocumentBuilder

public void releaseDocumentBuilder(DocumentBuilder documentBuilder)

getSAXParser

public SAXParser getSAXParser(LexicalHandler lexicalHandler)
                       throws ParserConfigurationException,
                              SAXException
Throws:
ParserConfigurationException
SAXException

releaseSAXParser

public void releaseSAXParser(SAXParser parser)

getTransformer

public Transformer getTransformer(String encoding)
                           throws TransformerException
Throws:
TransformerException

releaseTransformer

public void releaseTransformer(Transformer transformer)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.