|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.combine.CombinerParameter
public class CombinerParameter
Represents a single named parameter to a combining algorithm. Parameters are only used by XACML 2.0 and later policies.
Constructor Summary | |
---|---|
CombinerParameter(String name,
AttributeValue value)
Creates a new CombinerParameter. |
Method Summary | |
---|---|
void |
encode(StringBuilder builder)
Encodes this CombinerParameter into its XML form and writes this out to the provided
StringBuilder |
static CombinerParameter |
getInstance(Node root)
Returns a new instance of the CombinerParameter class based on a DOM node. |
String |
getName()
Returns the name of this parameter. |
AttributeValue |
getValue()
Returns the value provided by this parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombinerParameter(String name, AttributeValue value)
name
- the parameter's namevalue
- the parameter's valueMethod Detail |
---|
public static CombinerParameter getInstance(Node root) throws ParsingException
CombinerParameter
class based on a DOM node. The
node must be the root of an XML CombinerParameterType.
root
- the DOM root of a CombinerParameterType XML type
CombinerParameter
ParsingException
- if the CombinerParameterType is invalidpublic String getName()
public AttributeValue getValue()
public void encode(StringBuilder builder)
CombinerParameter
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 |