| org.apache.cxf.ws.policy.AssertionBuilder
All known Subclasses: org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder, org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder,
AssertionBuilder | public interface AssertionBuilder (Code) | | 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 build these,
it may be necessary to obtain other AssertionBuilders.
Concrete implementations should access the AssertionBuilderRegistry as a
Bus extension, so the registry need not passed as an argument here.
|
Method Summary | |
Assertion | build(Element element) Constructs an assertion from an xml element. | Assertion | buildCompatible(Assertion a, Assertion b) Returns a new assertion that is compatible with the two specified
assertions or null if no compatible assertion can be built. | Collection<QName> | getKnownElements() Returns a collection of QNames describing the xml schema types for which this
builder can build assertions. |
build | Assertion build(Element element)(Code) | | Constructs an assertion from an xml element.
Parameters: element - the element from which to build an assertion an Assertion built from the given element |
buildCompatible | Assertion buildCompatible(Assertion a, Assertion b)(Code) | | Returns a new assertion that is compatible with the two specified
assertions or null if no compatible assertion can be built.
|
getKnownElements | Collection<QName> getKnownElements()(Code) | | Returns a collection of QNames describing the xml schema types for which this
builder can build assertions.
collection of QNames of known schema types |
|
|