Methods Summary |
---|
static com.sun.xml.ws.policy.NestedPolicy | createNestedPolicy(AssertionSet set)
return new NestedPolicy(set);
|
static com.sun.xml.ws.policy.NestedPolicy | createNestedPolicy(java.lang.String name, java.lang.String policyId, AssertionSet set)
return new NestedPolicy(name, policyId, set);
|
public boolean | equals(java.lang.Object obj)An {@code Object.equals(Object obj)} method override.
if (this == obj) {
return true;
}
if (!(obj instanceof NestedPolicy)) {
return false;
}
final NestedPolicy that = (NestedPolicy) obj;
return super.equals(that);
|
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 returns {@code null}.
final Iterator<AssertionSet> iterator = iterator();
if (iterator.hasNext()) {
return iterator.next();
} else {
return null;
}
|
public int | hashCode()
return super.hashCode();
|
public java.lang.String | toString()An {@code Object.toString()} method override.
return toString(0, new StringBuffer()).toString();
|
java.lang.StringBuffer | toString(int indentLevel, java.lang.StringBuffer buffer)A helper method that appends indented string representation of this instance to the input string buffer.
return super.toString(indentLevel, buffer);
|