|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.AbstractTarget
public abstract class AbstractTarget
Represents the TargetType XML type in XACML. This defined as abstract, because there can be more than one implementation of TargetType. As an example, TargetType is considerably defer in XACML 2.0 and XACML 3.0 Therefore two implementations are used. The target is used to quickly identify whether the parent element (a policy set, policy, or rule) is applicable to a given request.
Constructor Summary | |
---|---|
AbstractTarget()
|
Method Summary | |
---|---|
abstract String |
encode()
Encodes this AbstractTarget into its XML form |
abstract void |
encode(StringBuilder builder)
Encodes this AbstractTarget into its XML form and writes this out to the provided
StringBuilder |
abstract MatchResult |
match(EvaluationCtx context)
Determines whether this AbstractTarget matches the input request (whether it is
applicable). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTarget()
Method Detail |
---|
public abstract MatchResult match(EvaluationCtx context)
AbstractTarget
matches the input request (whether it is
applicable).
context
- the representation of the request
public abstract String encode()
AbstractTarget
into its XML form
String
public abstract void encode(StringBuilder builder)
AbstractTarget
into its XML form and writes this out to the provided
StringBuilder
- Parameters:
builder
- string stream into which the XML-encoded data is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |