Apache CXF API

org.apache.cxf.ws.policy.builder.primitive
Class NestedPrimitiveAssertionBuilder

java.lang.Object
  extended by org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder
      extended by org.apache.cxf.ws.policy.builder.primitive.NestedPrimitiveAssertionBuilder
All Implemented Interfaces:
AssertionBuilder

public class NestedPrimitiveAssertionBuilder
extends PrimitiveAssertionBuilder


Field Summary
 
Fields inherited from class org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder
bus
 
Constructor Summary
NestedPrimitiveAssertionBuilder()
           
 
Method Summary
 PolicyAssertion build(Element elem)
          Constructs an assertion from an xml element.
 PolicyAssertion buildCompatible(PolicyAssertion a, PolicyAssertion b)
          If the two assertions are equal, they are also compatible.
 void setAssertionBuilderRegistry(AssertionBuilderRegistry abr)
           
 void setPolicyBuilder(PolicyBuilder b)
           
 
Methods inherited from class org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder
getKnownElements, setBus, setKnownElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedPrimitiveAssertionBuilder

public NestedPrimitiveAssertionBuilder()
Method Detail

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 API

Apache CXF