|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.xacml3.Advice
public class Advice
Represents the AdviceType XML type in XACML. Advice are introduced with XACML 3
Constructor Summary | |
---|---|
Advice(URI adviceId,
List<AttributeAssignment> assignments)
Constructor that creates a new Advice based on
the given elements. |
Method Summary | |
---|---|
String |
encode()
Encodes this Advice into its XML form |
void |
encode(StringBuilder builder)
Encodes this Advice into its XML form and writes this out to the provided
StringBuilder |
URI |
getAdviceId()
|
List<AttributeAssignment> |
getAssignments()
|
static Advice |
getInstance(Node root)
Creates a Advice based on its DOM node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Advice(URI adviceId, List<AttributeAssignment> assignments)
Advice
based on
the given elements.
adviceId
- Identifier that uniquely identify the Adviceassignments
- List
of AttributeAssignment
Method Detail |
---|
public String encode()
Advice
into its XML form
String
public static Advice getInstance(Node root) throws ParsingException
Advice
based on its DOM node.
root
- the DOM root of a AdviceType
ParsingException
- if the structure isn't validpublic URI getAdviceId()
public List<AttributeAssignment> getAssignments()
public void encode(StringBuilder builder)
Advice
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 |