public abstract class CombinerElement extends Object
Constructor and Description |
---|
CombinerElement(PolicyTreeElement element)
Constructor that only takes an element.
|
CombinerElement(PolicyTreeElement element,
List parameters)
Constructor that takes both the element to combine and its associated
combiner parameters.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
encode(OutputStream output,
Indenter indenter)
Encodes the element and parameters in this
CombinerElement
into their XML representation and writes this encoding to the given
OutputStream with indentation. |
PolicyTreeElement |
getElement()
Returns the
PolicyTreeElement in this element. |
List |
getParameters()
Returns the
CombinerParameter s associated with this
element. |
public CombinerElement(PolicyTreeElement element)
element
- a PolicyTreeElement
to use in combiningpublic CombinerElement(PolicyTreeElement element, List parameters)
element
- a PolicyTreeElement
to use in combiningparameters
- a (possibly empty) non-null List
of
CombinerParameters provided for general
use (for all pre-2.0 policies this must be empty)
public PolicyTreeElement getElement()
PolicyTreeElement
in this element.PolicyTreeElement
public List getParameters()
CombinerParameter
s associated with this
element.List
of CombinerParameter
spublic abstract void encode(OutputStream output, Indenter indenter)
CombinerElement
into their XML representation and writes this encoding to the given
OutputStream
with indentation.output
- a stream into which the XML-encoded data is writtenindenter
- an object that creates indentation stringsCopyright © 2023 JBoss by Red Hat. All rights reserved.