org.apache.xml.security.utils.resolver.implementations
Class ResolverXPointer

java.lang.Object
  |
  +--org.apache.xml.security.utils.resolver.ResourceResolverSpi
        |
        +--org.apache.xml.security.utils.resolver.implementations.ResolverXPointer

public class ResolverXPointer
extends ResourceResolverSpi

Handles barename XPointer Reference URIs.
To retain comments while selecting an element by an identifier ID, use the following full XPointer: URI='#xpointer(id('ID'))'.
To retain comments while selecting the entire document, use the following full XPointer: URI='#xpointer(/)'. This XPointer contains a simple XPath expression that includes the root node, which the second to last step above replaces with all nodes of the parse tree (all descendants, plus all attributes, plus all namespaces nodes).

Author:
$Author: geuerp $

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.resolver.ResourceResolverSpi
_properties
 
Constructor Summary
ResolverXPointer()
           
 
Method Summary
 boolean engineCanResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
          Method engineCanResolve
 XMLSignatureInput engineResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
          Method engineResolve Wird das gleiche Dokument referenziert?
 
Methods inherited from class org.apache.xml.security.utils.resolver.ResourceResolverSpi
engineAddProperies, engineGetProperty, engineGetPropertyKeys, engineSetProperty, expandSystemId, fixURI, makeFilesystemToURI, understandsProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResolverXPointer

public ResolverXPointer()
Method Detail

engineResolve

public XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
                                       java.lang.String BaseURI)
                                throws ResourceResolverException
Method engineResolve Wird das gleiche Dokument referenziert? Wird ein anderes Dokument referenziert?

Specified by:
engineResolve in class ResourceResolverSpi
Parameters:
uri -
BaseURI -
Returns:
Throws:
ResourceResolverException

engineCanResolve

public boolean engineCanResolve(org.w3c.dom.Attr uri,
                                java.lang.String BaseURI)
Method engineCanResolve

Specified by:
engineCanResolve in class ResourceResolverSpi
Parameters:
uri -
BaseURI -
Returns: