|
|||||||||
| 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 java.util.Map<java.lang.String,java.lang.String> |
properties
Field properties |
protected boolean |
secureValidation
Deprecated. Secure validation flag is now passed to methods. |
| Constructor Summary | |
|---|---|
ResourceResolverSpi()
|
|
| Method Summary | |
|---|---|
void |
engineAddProperies(java.util.Map<java.lang.String,java.lang.String> newProperties)
|
boolean |
engineCanResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
Deprecated. See engineCanResolveURI(ResourceResolverContext) |
boolean |
engineCanResolveURI(ResourceResolverContext context)
This method helps the ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action. |
java.lang.String |
engineGetProperty(java.lang.String key)
Method engineGetProperty |
java.lang.String[] |
engineGetPropertyKeys()
Method engineGetPropertyKeys |
boolean |
engineIsThreadSafe()
Tells if the implementation does can be reused by several threads safely. |
XMLSignatureInput |
engineResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
Deprecated. New clients should override engineResolveURI(ResourceResolverContext) |
XMLSignatureInput |
engineResolveURI(ResourceResolverContext context)
This is the workhorse method used to resolve resources. |
void |
engineSetProperty(java.lang.String key,
java.lang.String value)
Method engineSetProperty |
static java.lang.String |
fixURI(java.lang.String str)
Fixes a platform dependent filename to standard URI form. |
boolean |
understandsProperty(java.lang.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 java.util.Map<java.lang.String,java.lang.String> properties
protected final boolean secureValidation
| Constructor Detail |
|---|
public ResourceResolverSpi()
| Method Detail |
|---|
public XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
throws ResourceResolverException
engineResolveURI(ResourceResolverContext)
uri - BaseURI -
ResourceResolverException
public XMLSignatureInput engineResolveURI(ResourceResolverContext context)
throws ResourceResolverException
context - Context to use to resolve resources.
ResourceResolverException
public void engineSetProperty(java.lang.String key,
java.lang.String value)
key - value - public java.lang.String engineGetProperty(java.lang.String key)
key -
public void engineAddProperies(java.util.Map<java.lang.String,java.lang.String> newProperties)
newProperties - public boolean engineIsThreadSafe()
public boolean engineCanResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
engineCanResolveURI(ResourceResolverContext)
ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action.
uri - BaseURI -
public boolean engineCanResolveURI(ResourceResolverContext context)
ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action.
New clients should override this method, and not override engineCanResolve(Attr, String)
context - Context in which to do resolution.
public java.lang.String[] engineGetPropertyKeys()
public boolean understandsProperty(java.lang.String propertyToTest)
propertyToTest -
public static java.lang.String fixURI(java.lang.String str)
str - The string to fix.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||