|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.xacml.util.TargetUtil
Class to support parsing of Target
instances.
Constructor Summary | |
TargetUtil()
|
Method Summary | |
static TargetMatch |
getTargetMatch(Target target,
int type,
int index)
Returns the TargetMatch from the given target. |
static Evaluatable |
getTargetMatchEvaluatable(Target target,
int type,
int index)
Returns the Evaluatable if the TargetMatch from the given target. |
static Function |
getTargetMatchFunction(Target target,
int type,
int index)
Returns the match function if the TargetMatch from the given target. |
static List |
getTargetMatchList(Target target,
int type)
Returns the list of target matches of the given type from the given target. |
static int |
getTargetMatchSize(Target target,
int type)
Returns the number of target matches of the given type in the given target. |
static AttributeValue |
getTargetMatchValue(Target target,
int type,
int index)
Returns the attribute value if the TargetMatch from the given target. |
static boolean |
isEmpty(Target target)
Verifies if the target is empty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TargetUtil()
Method Detail |
public static TargetMatch getTargetMatch(Target target, int type, int index)
null
is returned.
target
- The target to be searches.type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).index
- The index of the target match in the list.
null
.public static List getTargetMatchList(Target target, int type)
target
- The target..type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).
null
.public static int getTargetMatchSize(Target target, int type)
target
- The target.type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).
public static AttributeValue getTargetMatchValue(Target target, int type, int index)
target
- The target to be searched.type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).index
- The index of the target match in the list.
null
.public static Evaluatable getTargetMatchEvaluatable(Target target, int type, int index)
target
- The target to be searched.type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).index
- The index of the target match in the list.
null
.public static Function getTargetMatchFunction(Target target, int type, int index)
target
- The target to be searched.type
- The type of the target match (
SUBJECT
,
RESOURCE
or
ACTION
).index
- The index of the target match in the list.
null
.public static boolean isEmpty(Target target)
target
- The target to verify.
true
, if the target is empty, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |