protected class StaticBasicParserPool.DocumentBuilderProxy extends DocumentBuilder
| コンストラクタと説明 |
|---|
StaticBasicParserPool.DocumentBuilderProxy(DocumentBuilder target,
StaticBasicParserPool owner)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
checkValidState()
Check whether the parser is in a valid and usable state, and if not, throw a runtime exception.
|
protected void |
finalize() |
DOMImplementation |
getDOMImplementation() |
protected ParserPool |
getOwningPool()
Gets the pool that owns this parser.
|
protected DocumentBuilder |
getProxiedBuilder()
Gets the proxied document builder.
|
Schema |
getSchema() |
boolean |
isNamespaceAware() |
protected boolean |
isReturned()
Check accounting state as to whether this parser has been returned to the
owning pool.
|
boolean |
isValidating() |
boolean |
isXIncludeAware() |
Document |
newDocument() |
Document |
parse(File f) |
Document |
parse(InputSource is) |
Document |
parse(InputStream is) |
Document |
parse(InputStream is,
String systemId) |
Document |
parse(String uri) |
void |
reset() |
void |
setEntityResolver(EntityResolver er) |
void |
setErrorHandler(ErrorHandler eh) |
protected void |
setReturned(boolean isReturned)
Set accounting state as to whether this parser has been returned to the
owning pool.
|
public StaticBasicParserPool.DocumentBuilderProxy(DocumentBuilder target, StaticBasicParserPool owner)
target - document builder to proxyowner - the owning poolpublic DOMImplementation getDOMImplementation()
getDOMImplementation クラス内 DocumentBuilderpublic Schema getSchema()
getSchema クラス内 DocumentBuilderpublic boolean isNamespaceAware()
isNamespaceAware クラス内 DocumentBuilderpublic boolean isValidating()
isValidating クラス内 DocumentBuilderpublic boolean isXIncludeAware()
isXIncludeAware クラス内 DocumentBuilderpublic Document newDocument()
newDocument クラス内 DocumentBuilderpublic Document parse(File f) throws SAXException, IOException
parse クラス内 DocumentBuilderSAXExceptionIOExceptionpublic Document parse(InputSource is) throws SAXException, IOException
parse クラス内 DocumentBuilderSAXExceptionIOExceptionpublic Document parse(InputStream is) throws SAXException, IOException
parse クラス内 DocumentBuilderSAXExceptionIOExceptionpublic Document parse(InputStream is, String systemId) throws SAXException, IOException
parse クラス内 DocumentBuilderSAXExceptionIOExceptionpublic Document parse(String uri) throws SAXException, IOException
parse クラス内 DocumentBuilderSAXExceptionIOExceptionpublic void reset()
reset クラス内 DocumentBuilderpublic void setEntityResolver(EntityResolver er)
setEntityResolver クラス内 DocumentBuilderpublic void setErrorHandler(ErrorHandler eh)
setErrorHandler クラス内 DocumentBuilderprotected ParserPool getOwningPool()
protected DocumentBuilder getProxiedBuilder()
protected boolean isReturned()
protected void setReturned(boolean isReturned)
isReturned - set true to indicate that parser has been returned to the owning poolprotected void checkValidState()
throws IllegalStateException
IllegalStateException - thrown if the parser is in a state such that it can not be usedCopyright © 2012. All Rights Reserved.