public class CombinerParameter extends Object
Constructor and Description |
---|
CombinerParameter(String name,
AttributeValue value)
Creates a new CombinerParameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CombinerParameter(String name, AttributeValue value)
name
- the parameter's namevalue
- the parameter's valuepublic 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 typeCombinerParameter
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
builder
- string stream into which the XML-encoded data is writtenCopyright © 2022 WSO2. All rights reserved.