Package com.sun.xml.ws.policy
Class NestedPolicy
- java.lang.Object
-
- com.sun.xml.ws.policy.Policy
-
- com.sun.xml.ws.policy.NestedPolicy
-
- All Implemented Interfaces:
Iterable<AssertionSet>
public final class NestedPolicy extends Policy
A special policy implementation that assures that only no or single policy alternative is possible within this type of policy.- Author:
- Marek Potociar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AnObject.equals(Object obj)method override.AssertionSetgetAssertionSet()Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.inthashCode()AnObject.hashCode()method override.StringtoString()AnObject.toString()method override.-
Methods inherited from class com.sun.xml.ws.policy.Policy
contains, contains, createEmptyPolicy, createEmptyPolicy, createEmptyPolicy, createNullPolicy, createNullPolicy, createNullPolicy, createPolicy, createPolicy, createPolicy, getId, getIdOrName, getName, getNamespaceVersion, getNumberOfAssertionSets, getVocabulary, isEmpty, isNull, iterator
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getAssertionSet
public AssertionSet getAssertionSet()
Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object. If the nested policy represents a policy with no alternatives (i.e. nothing is allowed) the method returnsnull.- Returns:
- nested policy alternative represented by AssertionSet object. May return
nullin case the nested policy represents 'nothing allowed' policy.
-
equals
public boolean equals(Object obj)
AnObject.equals(Object obj)method override.
-
hashCode
public int hashCode()
Description copied from class:PolicyAnObject.hashCode()method override.
-
-