public interface InternalReferenceResolverInterface
ExternalReferenceResolverInterface| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.NodeList |
resolve(URI uri,
org.w3c.dom.Document xmlDocumentOM,
org.w3c.dom.NodeList hereResult)
Returns a
NodeList object providing a list of DOM nodes which correspond to the
parts of the XML document selected by the internal URI. |
org.w3c.dom.NodeList resolve(URI uri, org.w3c.dom.Document xmlDocumentOM, org.w3c.dom.NodeList hereResult) throws InternalReferenceResolverException
NodeList object providing a list of DOM nodes which correspond to the
parts of the XML document selected by the internal URI.uri - The URI specifying the parts of the XML document. Must be either empty or reference-only.xmlDocumentOM - The XML document which should be used to evaluate the internal URI.hereResult - If the uri is reference-only, and if the reference consists of an
XPointer, it can make use of the here() extension function, which has
has been introduced in XML Signature,
XPath Filtering. If the here() function is used, this parameter
contains the result which should be used for calls to here() in the
XPointer. May be null if the here() function will not be
used. If not null, the NodeList must contain a single
Element, Attr or
ProcessingInstruction node.InternalReferenceResolverException - if providing the list of DOM nodes fails for any reason.