|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 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 | |
---|---|
PolicyAssertion |
build(Element element)
Constructs an assertion from an xml element. |
PolicyAssertion |
buildCompatible(PolicyAssertion a,
PolicyAssertion 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. |
Method Detail |
---|
PolicyAssertion build(Element element)
element
- the element from which to build an assertion
Collection<QName> getKnownElements()
PolicyAssertion buildCompatible(PolicyAssertion a, PolicyAssertion b)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |