protected class BasicParserPool.DocumentBuilderProxy extends DocumentBuilder
コンストラクタと説明 |
---|
BasicParserPool.DocumentBuilderProxy(DocumentBuilder target,
BasicParserPool owner,
long version)
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 long |
getPoolVersion()
Gets the version of the pool that owns this parser at the time of the proxy's creation.
|
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 BasicParserPool.DocumentBuilderProxy(DocumentBuilder target, BasicParserPool owner, long version)
target
- document builder to proxyowner
- the owning poolversion
- the owning pool's versionpublic DOMImplementation getDOMImplementation()
getDOMImplementation
クラス内 DocumentBuilder
public Schema getSchema()
getSchema
クラス内 DocumentBuilder
public boolean isNamespaceAware()
isNamespaceAware
クラス内 DocumentBuilder
public boolean isValidating()
isValidating
クラス内 DocumentBuilder
public boolean isXIncludeAware()
isXIncludeAware
クラス内 DocumentBuilder
public Document newDocument()
newDocument
クラス内 DocumentBuilder
public Document parse(File f) throws SAXException, IOException
parse
クラス内 DocumentBuilder
SAXException
IOException
public Document parse(InputSource is) throws SAXException, IOException
parse
クラス内 DocumentBuilder
SAXException
IOException
public Document parse(InputStream is) throws SAXException, IOException
parse
クラス内 DocumentBuilder
SAXException
IOException
public Document parse(InputStream is, String systemId) throws SAXException, IOException
parse
クラス内 DocumentBuilder
SAXException
IOException
public Document parse(String uri) throws SAXException, IOException
parse
クラス内 DocumentBuilder
SAXException
IOException
public void reset()
reset
クラス内 DocumentBuilder
public void setEntityResolver(EntityResolver er)
setEntityResolver
クラス内 DocumentBuilder
public void setErrorHandler(ErrorHandler eh)
setErrorHandler
クラス内 DocumentBuilder
protected ParserPool getOwningPool()
protected long getPoolVersion()
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.