|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.parsers.DocumentBuilder
org.opensaml.xml.parse.BasicParserPool.DocumentBuilderProxy
protected class BasicParserPool.DocumentBuilderProxy
A proxy that prevents the manages document builders retrieved from the parser pool.
Constructor Summary | |
---|---|
BasicParserPool.DocumentBuilderProxy(DocumentBuilder target,
BasicParserPool owner)
Constructor. |
Method Summary | |
---|---|
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()
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicParserPool.DocumentBuilderProxy(DocumentBuilder target, BasicParserPool owner)
target
- document builder to proxyowner
- the owning poolMethod Detail |
---|
public DOMImplementation getDOMImplementation()
getDOMImplementation
in class DocumentBuilder
public Schema getSchema()
getSchema
in class DocumentBuilder
public boolean isNamespaceAware()
isNamespaceAware
in class DocumentBuilder
public boolean isValidating()
isValidating
in class DocumentBuilder
public boolean isXIncludeAware()
isXIncludeAware
in class DocumentBuilder
public Document newDocument()
newDocument
in class DocumentBuilder
public Document parse(File f) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public Document parse(InputSource is) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public Document parse(InputStream is) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public Document parse(InputStream is, String systemId) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public Document parse(String uri) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public void reset()
reset
in class DocumentBuilder
public void setEntityResolver(EntityResolver er)
setEntityResolver
in class DocumentBuilder
public void setErrorHandler(ErrorHandler eh)
setErrorHandler
in class DocumentBuilder
protected ParserPool getOwningPool()
protected long getPoolVersion()
protected DocumentBuilder getProxiedBuilder()
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |