public interface DocumentBuilderPool
Modifier and Type | Method and Description |
---|---|
DocumentBuilder |
acquire(DOMParserOptions options)
Acquires a DocumentBuilder with meets the requirements expressed by the options.
|
void |
release(DocumentBuilder builder,
DOMParserOptions options)
Releases a DocumentBuilder, wich was acquired using the parser options.
|
DocumentBuilder acquire(DOMParserOptions options) throws DOMParserException
options
- the options.DOMParserException
- if builder can not acquired.void release(DocumentBuilder builder, DOMParserOptions options)
builder
- the builder.options
- the options.Copyright © 2004–2018 52north.org. All rights reserved.