|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.neethi.AbstractPolicyOperator
org.apache.neethi.All
All is a PolicyOperator that require all its PolicyComponents to be met.
| Field Summary |
| Fields inherited from class org.apache.neethi.AbstractPolicyOperator |
policyComponents |
| Constructor Summary | |
All()
|
|
| Method Summary | |
void |
addAssertion(Assertion assertion)
Adds an assertion to its PolicyComponent list. |
java.util.List |
getAssertions()
Returns a List of it's PolicyComponents. |
short |
getType()
Returns Constants.TYPE_ALL |
void |
serialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the PolicyComponent using an XMLStreamWriter. |
| Methods inherited from class org.apache.neethi.AbstractPolicyOperator |
addPolicyComponent, addPolicyComponents, equal, getFirstPolicyComponent, getPolicyComponents, isEmpty, normalize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public All()
| Method Detail |
public void addAssertion(Assertion assertion)
assertion - the assertion to be added.public java.util.List getAssertions()
public void serialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
PolicyComponent
writer - the writer that the component should write itself
javax.xml.stream.XMLStreamException - if an errors in the process of serialization of the
PolicyComponent.public short getType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||