PrimitiveAssertionBuilder (Apache CXF API 2.3.9 API)
Keywords: org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.ws.policy.builder.primitive
Class PrimitiveAssertionBuilder

    java.lang.Object
      org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder

All Implemented Interfaces:
  AssertionBuilder

Direct Known Subclasses:
  NestedPrimitiveAssertionBuilder, XMLPrimitiveAssertionBuilder

    public class PrimitiveAssertionBuilder

extends Object
implements AssertionBuilder

Field Summary
`protected Bus` | `bus`

Constructor Summary
`PrimitiveAssertionBuilder()`
`PrimitiveAssertionBuilder(Collection<QName> els)`

Method Summary
`PolicyAssertion` | `build(Element element)` Constructs an assertion from an xml element.
`PolicyAssertion` | `buildCompatible(PolicyAssertion a, PolicyAssertion b)` If the two assertions are equal, they are also compatible.
`Collection<QName>` | `getKnownElements()` Returns a collection of QNames describing the xml schema types for which this builder can build assertions.
`void` | `setBus(Bus b)`
`void` | `setKnownElements(Collection<QName> k)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### bus

    protected Bus bus

Constructor Detail

### PrimitiveAssertionBuilder

    public PrimitiveAssertionBuilder()

### PrimitiveAssertionBuilder

    public PrimitiveAssertionBuilder(Collection<QName> els)

Method Detail

### setBus

    public void setBus(Bus b)

### build

    public PolicyAssertion build(Element element)

  Description copied from interface: `AssertionBuilder`
  Constructs an assertion from an xml element.

  Specified by:
    `build` in interface `AssertionBuilder`
  Parameters:
    `element` - the element from which to build an assertion
  Returns:
    an Assertion built from the given element

### getKnownElements

    public Collection<QName> getKnownElements()

  Description copied from interface: `AssertionBuilder`
  Returns a collection of QNames describing the xml schema types for which this builder can build assertions.

  Specified by:
    `getKnownElements` in interface `AssertionBuilder`
  Returns:
    collection of QNames of known schema types

### setKnownElements

    public void setKnownElements(Collection<QName> k)

### buildCompatible

    public PolicyAssertion buildCompatible(PolicyAssertion a,
                                           PolicyAssertion b)

  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF