public interface XInclusionContext
XInclusion.include(com.xmlmind.xml.doc.Node, com.xmlmind.xml.doc.Node, boolean, com.xmlmind.xml.load.XInclusionContext)
to do its job efficiently.Modifier and Type | Method and Description |
---|---|
Element |
findElementById(Document doc,
String id)
Searches specified document for an element having specified ID.
|
Document |
getDocument(URL url)
Opens and returns the document corresponding to specified URL.
|
Document getDocument(URL url) throws InclusionException
url
- URL of the documentInclusionException
- if, for any reason,
specified document cannot be opened