org.n52.security.common.xml
Interface DocumentBuilderPool

All Known Implementing Classes:
DefaultDocumentBuilderPool

public interface DocumentBuilderPool

Describes a pool for DocumentBuilders.

Currently the usage of this class is encapsulated within the DOMParser class.

Version:
$Revision: $
Author:
Marko Reiprecht Created on 22.04.2008

Method Summary
 DocumentBuilder acquire(DOMParserOptions options)
          Method acquires a DocumentBuilder with meets the requirements expressed by the options.
 void release(DocumentBuilder builder, DOMParserOptions options)
          Method releases a DocumentBuilder, wich was acquired using the parser options.
 

Method Detail

acquire

DocumentBuilder acquire(DOMParserOptions options)
                        throws DOMParserException
Method acquires a DocumentBuilder with meets the requirements expressed by the options.

Parameters:
options - the options.
Returns:
DocumentBuilder.
Throws:
DOMParserException - if builder can not acquired.

release

void release(DocumentBuilder builder,
             DOMParserOptions options)
Method releases a DocumentBuilder, wich was acquired using the parser options.

Parameters:
builder - the builder.
options - the options.


Copyright © 2004–2013 52north.org. All rights reserved.