Apache CXF API

org.apache.cxf.ws.policy
Interface AssertionBuilder

All Known Implementing Classes:
JaxbAssertionBuilder, NestedPrimitiveAssertionBuilder, PrimitiveAssertionBuilder, XMLPrimitiveAssertionBuilder

public interface AssertionBuilder

AssertionBuilder is an interface used to build an Assertion object from a given xml element. Domain Policy authors write custom AssertionBuilders to build Assertions for domain specific assertions. Note that assertions can include nested policy expressions. To do so, they can obtain other AssertionBuilders by accessing the AssertionBuilderRegistry as a Bus extension, hence the registry is not passes as an argument here.


Method Summary
 org.apache.neethi.Assertion build(org.w3c.dom.Element element)
          Constructs an assertion from an xml element.
 java.util.Collection<javax.xml.namespace.QName> getKnownElements()
          Returns a collection of QNames describing the xml schema types for which this builder can build assertions.
 

Method Detail

build

org.apache.neethi.Assertion build(org.w3c.dom.Element element)
Constructs an assertion from an xml element.

Parameters:
element - the element from which to build an assertion
Returns:
an Assertion built from the given element

getKnownElements

java.util.Collection<javax.xml.namespace.QName> getKnownElements()
Returns a collection of QNames describing the xml schema types for which this builder can build assertions.

Returns:
collection of QNames of known schema types

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.