|
|||||||||||
| 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
During reference validation, we have to retrieve resources from somewhere.
| Field Summary | |
protected java.util.Map |
_properties
Field _properties |
| Constructor Summary | |
ResourceResolverSpi()
|
|
| Method Summary | |
void |
engineAddProperies(java.util.Map properties)
|
abstract 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. |
java.lang.String |
engineGetProperty(java.lang.String key)
Method engineGetProperty |
java.lang.String[] |
engineGetPropertyKeys()
Method engineGetPropertyKeys |
abstract XMLSignatureInput |
engineResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
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 |
expandSystemId(java.lang.String systemId,
java.lang.String currentSystemId)
Expands a system id and returns the system id as a URL, if it can be expanded. |
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 _properties
| Constructor Detail |
public ResourceResolverSpi()
| Method Detail |
public abstract XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
throws ResourceResolverException
uri - BaseURI -
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 properties)
public abstract boolean engineCanResolve(org.w3c.dom.Attr uri,
java.lang.String BaseURI)
ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action.
uri - BaseURI - public java.lang.String[] engineGetPropertyKeys()
public boolean understandsProperty(java.lang.String propertyToTest)
propertyToTest -
public static java.lang.String expandSystemId(java.lang.String systemId,
java.lang.String currentSystemId)
throws java.lang.Exception
systemId - The systemId to be expanded.currentSystemId -
java.lang.Exceptionpublic 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 | ||||||||||