public class All extends AbstractPolicyOperator
policyComponents| Constructor and Description |
|---|
All() |
All(PolicyOperator parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssertion(Assertion assertion)
Adds an assertion to its PolicyComponent list.
|
List<PolicyComponent> |
getAssertions()
Returns a
List of it's PolicyComponents. |
short |
getType()
Returns Constants.TYPE_ALL
|
void |
serialize(XMLStreamWriter writer)
Serializes the PolicyComponent using an XMLStreamWriter.
|
addPolicyComponent, addPolicyComponents, equal, getFirstPolicyComponent, getPolicyComponents, isEmpty, normalizepublic All()
public All(PolicyOperator parent)
public void addAssertion(Assertion assertion)
assertion - the assertion to be added.public List<PolicyComponent> getAssertions()
List of it's PolicyComponents.public void serialize(XMLStreamWriter writer) throws XMLStreamException
PolicyComponentwriter - the writer that the component should write itselfXMLStreamException - if an errors in the process of serialization of the
PolicyComponent.public short getType()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.