public class PolicyCombinerElement extends CombinerElement
CombinerElement used for policy combining.| Constructor and Description |
|---|
PolicyCombinerElement(AbstractPolicy policy)
Constructor that only takes an AbstractPolicy
|
PolicyCombinerElement(AbstractPolicy policy,
List parameters)
Constructor that takes both the
AbstractPolicy to combine
and its associated combiner parameters. |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output,
Indenter indenter)
Encodes this element's
AbstractPolicy and parameters into
their XML representation and writes this encoding to the given
OutputStream with indentation. |
AbstractPolicy |
getPolicy()
Returns the
AbstractPolicy in this element. |
getElement, getParameterspublic PolicyCombinerElement(AbstractPolicy policy)
AbstractPolicyAbstractPolicy when combining.policy - an AbstractPolicy to use in combiningpublic PolicyCombinerElement(AbstractPolicy policy, List parameters)
AbstractPolicy to combine
and its associated combiner parameters.policy - an AbstractPolicy 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 AbstractPolicy getPolicy()
AbstractPolicy in this element.AbstractPolicypublic void encode(OutputStream output, Indenter indenter)
AbstractPolicy and parameters into
their XML representation and writes this encoding to the given
OutputStream with indentation.encode in class CombinerElementoutput - a stream into which the XML-encoded data is writtenindenter - an object that creates indentation stringsCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.