|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.policy.AssertionSet
public final class AssertionSet
The AssertionSet is a set of assertions. It represents a single policy alternative.
| Method Summary | |
|---|---|
int |
compareTo(AssertionSet that)
An Comparable<T>.compareTo(T o) interface method implementation. |
boolean |
contains(QName assertionName)
Returns true if the assertion set contains the assertion name specified in its vocabulary |
static AssertionSet |
createAssertionSet(Collection<? extends PolicyAssertion> assertions)
Creates and returns new assertion set holding a set of provided policy assertions. |
static AssertionSet |
createMergedAssertionSet(Collection<AssertionSet> alternatives)
Creates and returns new assertion set holding content of all provided policy assertion sets. |
static AssertionSet |
emptyAssertionSet()
|
boolean |
equals(Object obj)
An Object.equals(Object obj) method override. |
Collection<PolicyAssertion> |
get(QName name)
Searches for assertions with given name. |
int |
hashCode()
An Object.hashCode() method override. |
boolean |
isEmpty()
Returns true if this assertion set contains no assertions. |
Iterator<PolicyAssertion> |
iterator()
Returns an iterator over a set of child policy assertion objects. |
String |
toString()
An Object.toString() method override. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static AssertionSet createMergedAssertionSet(Collection<AssertionSet> alternatives)
alternatives - collection of provided policy assertion sets which content is to be stored in the assertion set.
May be null - empty assertion set is returned in such case.
public static AssertionSet createAssertionSet(Collection<? extends PolicyAssertion> assertions)
assertions - collection of provided policy assertions to be stored in the assertion set. May be null.
public static AssertionSet emptyAssertionSet()
public Iterator<PolicyAssertion> iterator()
iterator in interface Iterable<PolicyAssertion>public Collection<PolicyAssertion> get(QName name)
name - The fully qualified name of searched assertion
null value is never returned).public boolean isEmpty()
true if this assertion set contains no assertions.
true if this assertion set contains no assertions.public boolean contains(QName assertionName)
assertionName - the fully qualified name of the assertion
true, if an assertion with the given name could be found in the assertion set vocabulary false otherwise.public int compareTo(AssertionSet that)
Comparable<T>.compareTo(T o) interface method implementation.
compareTo in interface Comparable<AssertionSet>that - other alternative to compare withpublic boolean equals(Object obj)
Object.equals(Object obj) method override.
equals in class Objectpublic int hashCode()
Object.hashCode() method override.
hashCode in class Objectpublic String toString()
Object.toString() method override.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||