Class ResourceResolverSpi
java.lang.Object
org.apache.xml.security.utils.resolver.ResourceResolverSpi
During reference validation, we have to retrieve resources from somewhere.
- Author:
- $Author$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
engineAddProperies
(Map properties) abstract boolean
engineCanResolve
(Attr uri, String BaseURI) This method helps theResourceResolver
to decide whether aResourceResolverSpi
is able to perform the requested action.engineGetProperty
(String key) Method engineGetPropertyString[]
Method engineGetPropertyKeysabstract XMLSignatureInput
engineResolve
(Attr uri, String BaseURI) This is the workhorse method used to resolve resources.void
engineSetProperty
(String key, String value) Method engineSetPropertystatic String
Fixes a platform dependent filename to standard URI form.boolean
understandsProperty
(String propertyToTest) Method understandsProperty
-
Field Details
-
_properties
Field _properties
-
-
Constructor Details
-
ResourceResolverSpi
public ResourceResolverSpi()
-
-
Method Details
-
engineResolve
public abstract XMLSignatureInput engineResolve(Attr uri, String BaseURI) throws ResourceResolverException This is the workhorse method used to resolve resources.- Parameters:
uri
-BaseURI
-- Returns:
- the resource wrapped arround a XMLSignatureInput
- Throws:
ResourceResolverException
-
engineSetProperty
Method engineSetProperty- Parameters:
key
-value
-
-
engineGetProperty
Method engineGetProperty- Parameters:
key
-- Returns:
- the value of the property
-
engineAddProperies
- Parameters:
properties
-
-
engineCanResolve
This method helps theResourceResolver
to decide whether aResourceResolverSpi
is able to perform the requested action.- Parameters:
uri
-BaseURI
-- Returns:
- true if the engine can resolve the uri
-
engineGetPropertyKeys
Method engineGetPropertyKeys- Returns:
- the property keys
-
understandsProperty
Method understandsProperty- Parameters:
propertyToTest
-- Returns:
- true if understands the property
-
fixURI
Fixes a platform dependent filename to standard URI form.- Parameters:
str
- The string to fix.- Returns:
- Returns the fixed URI string.
-