org.apache.cxf.ws.policy.builder.primitive
Class NestedPrimitiveAssertionBuilder
java.lang.Object
org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder
org.apache.cxf.ws.policy.builder.primitive.NestedPrimitiveAssertionBuilder
- All Implemented Interfaces:
- AssertionBuilder
public class NestedPrimitiveAssertionBuilder
- extends PrimitiveAssertionBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedPrimitiveAssertionBuilder
public NestedPrimitiveAssertionBuilder()
setPolicyBuilder
public void setPolicyBuilder(PolicyBuilder b)
setAssertionBuilderRegistry
public void setAssertionBuilderRegistry(AssertionBuilderRegistry abr)
build
public PolicyAssertion build(Element elem)
- Description copied from interface:
AssertionBuilder
- Constructs an assertion from an xml element.
- Specified by:
build
in interface AssertionBuilder
- Overrides:
build
in class PrimitiveAssertionBuilder
- Parameters:
elem
- the element from which to build an assertion
- Returns:
- an Assertion built from the given element
buildCompatible
public PolicyAssertion buildCompatible(PolicyAssertion a,
PolicyAssertion b)
- Description copied from class:
PrimitiveAssertionBuilder
- If the two assertions are equal, they are also compatible.
The compatible policy is optional iff both assertions are optional.
- Specified by:
buildCompatible
in interface AssertionBuilder
- Overrides:
buildCompatible
in class PrimitiveAssertionBuilder
Apache CXF