|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.security.utils.resolver.ResourceResolverSpi
public abstract class ResourceResolverSpi
During reference validation, we have to retrieve resources from somewhere.
| Field Summary | |
|---|---|
protected Map<String,String> |
properties
Field properties |
| Constructor Summary | |
|---|---|
ResourceResolverSpi()
|
|
| Method Summary | |
|---|---|
void |
engineAddProperies(Map<String,String> newProperties)
|
abstract boolean |
engineCanResolveURI(ResourceResolverContext context)
This method helps the ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action. |
String |
engineGetProperty(String key)
Method engineGetProperty |
String[] |
engineGetPropertyKeys()
Method engineGetPropertyKeys |
boolean |
engineIsThreadSafe()
Tells if the implementation does can be reused by several threads safely. |
abstract XMLSignatureInput |
engineResolveURI(ResourceResolverContext context)
This is the workhorse method used to resolve resources. |
void |
engineSetProperty(String key,
String value)
Method engineSetProperty |
static String |
fixURI(String str)
Fixes a platform dependent filename to standard URI form. |
boolean |
understandsProperty(String propertyToTest)
Method understandsProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<String,String> properties
| Constructor Detail |
|---|
public ResourceResolverSpi()
| Method Detail |
|---|
public abstract XMLSignatureInput engineResolveURI(ResourceResolverContext context)
throws ResourceResolverException
context - Context to use to resolve resources.
ResourceResolverException
public void engineSetProperty(String key,
String value)
key - value - public String engineGetProperty(String key)
key -
public void engineAddProperies(Map<String,String> newProperties)
newProperties - public boolean engineIsThreadSafe()
public abstract boolean engineCanResolveURI(ResourceResolverContext context)
ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action.
context - Context in which to do resolution.
public String[] engineGetPropertyKeys()
public boolean understandsProperty(String propertyToTest)
propertyToTest -
public static String fixURI(String str)
str - The string to fix.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||