|
|||||||||
Home >> All >> com >> sun >> xacml >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
com.sun.xacml.test
Class TestResourceFinderModule

java.lang.Objectcom.sun.xacml.finder.ResourceFinderModule
com.sun.xacml.test.TestResourceFinderModule
- public class TestResourceFinderModule
- extends com.sun.xacml.finder.ResourceFinderModule
A ResourceFinderModule
used to handle the hierarchical
resources in the conformance tests.
Constructor Summary | |
TestResourceFinderModule()
Default constructor. |
Method Summary | |
com.sun.xacml.finder.ResourceFinderResult |
findChildResources(com.sun.xacml.attr.AttributeValue root,
com.sun.xacml.EvaluationCtx context)
Finds the children resources associated with the given root, assuming the hierarchy is one that this module handles. |
com.sun.xacml.finder.ResourceFinderResult |
findDescendantResources(com.sun.xacml.attr.AttributeValue root,
com.sun.xacml.EvaluationCtx context)
Finds the children resources associated with the given root, assuming the hierarchy is one that this module handles. |
boolean |
isChildSupported()
Always returns true, since child resource resolution is supported. |
boolean |
isDescendantSupported()
Always returns true, since descendant resource resolution is supported. |
private boolean |
requestApplies(com.sun.xacml.attr.AttributeValue root)
Private helper method that checks if the given resource is the root of a hierarchy that we know how to handle. |
Methods inherited from class com.sun.xacml.finder.ResourceFinderModule |
findChildResources, findDescendantResources, getIdentifier, invalidateCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
TestResourceFinderModule
public TestResourceFinderModule()
- Default constructor.
Method Detail |
isChildSupported
public boolean isChildSupported()
- Always returns true, since child resource resolution is supported.
isDescendantSupported
public boolean isDescendantSupported()
- Always returns true, since descendant resource resolution is supported.
findChildResources
public com.sun.xacml.finder.ResourceFinderResult findChildResources(com.sun.xacml.attr.AttributeValue root, com.sun.xacml.EvaluationCtx context)
- Finds the children resources associated with the given root,
assuming the hierarchy is one that this module handles.
findDescendantResources
public com.sun.xacml.finder.ResourceFinderResult findDescendantResources(com.sun.xacml.attr.AttributeValue root, com.sun.xacml.EvaluationCtx context)
- Finds the children resources associated with the given root,
assuming the hierarchy is one that this module handles.
requestApplies
private boolean requestApplies(com.sun.xacml.attr.AttributeValue root)
- Private helper method that checks if the given resource is the root
of a hierarchy that we know how to handle.
|
|||||||||
Home >> All >> com >> sun >> xacml >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |