org.apache.ws.security.message
Class EnvelopeIdResolver

java.lang.Object
  extended byorg.apache.xml.security.utils.resolver.ResourceResolverSpi
      extended byorg.apache.ws.security.message.EnvelopeIdResolver

public class EnvelopeIdResolver
extends org.apache.xml.security.utils.resolver.ResourceResolverSpi

XML-Security resolver that is used for resolving same-document URIs like URI="#id". It is designed to work only with SOAPEnvelopes.

Author:
Davanum Srinivas (dims@yahoo.com).

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.resolver.ResourceResolverSpi
_properties
 
Method Summary
 boolean engineCanResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
          This method helps the ResourceResolver to decide whether a ResourceResolverSpi is able to perform the requested action.
 org.apache.xml.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
          This is the workhorse method used to resolve resources.
static org.apache.xml.security.utils.resolver.ResourceResolverSpi getInstance()
          Singleton instance of the resolver.
 
Methods inherited from class org.apache.xml.security.utils.resolver.ResourceResolverSpi
engineAddProperies, engineGetProperty, engineGetPropertyKeys, engineIsThreadSafe, engineSetProperty, fixURI, understandsProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.apache.xml.security.utils.resolver.ResourceResolverSpi getInstance()
Singleton instance of the resolver.

Returns:
TODO

engineResolve

public org.apache.xml.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
                                                                         java.lang.String BaseURI)
                                                                  throws org.apache.xml.security.utils.resolver.ResourceResolverException
This is the workhorse method used to resolve resources.

Parameters:
uri -
BaseURI -
Returns:
TODO
Throws:
org.apache.xml.security.utils.resolver.ResourceResolverException

engineCanResolve

public boolean engineCanResolve(org.w3c.dom.Attr uri,
                                java.lang.String BaseURI)
This method helps the ResourceResolver to decide whether a ResourceResolverSpi is able to perform the requested action.

Parameters:
uri -
BaseURI -
Returns:
TODO


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.