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>
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
Modifier and TypeMethodDescriptionbooleanAnObject.equals(Object obj)method override.Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.inthashCode()AnObject.hashCode()method override.toString()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, iteratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
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
AnObject.equals(Object obj)method override. -
hashCode
public int hashCode()Description copied from class:PolicyAnObject.hashCode()method override. -
toString
AnObject.toString()method override.
-