|
Apache Neethi 3.0.2-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssertionBuilderFactory
AssertionFactory is used to create an Assertion from an Element. It uses an appropriate AssertionBuilder instance to create an Assertion based on the QName of the given element. Domain Policy authors could right custom AssertionBuilders to build Assertions for domain specific assertions.
Method Summary | |
---|---|
Assertion |
build(Object element)
Returns an assertion that is built using the specified element. |
AssertionBuilder<?> |
getBuilder(QName qname)
Returns an AssertionBuilder that build an Assertion from an element of qname type. |
ConverterRegistry |
getConverterRegistry()
Returns the ConverterRegistry that the builder uses for converting the object to the types needed for the AssertionBuilders |
PolicyBuilder |
getPolicyEngine()
Returns the PolicyEngine associated with this factory |
void |
registerBuilder(AssertionBuilder<?> builder)
Registers an AssertionBuilder with all the builder's known elements. |
void |
registerBuilder(QName key,
AssertionBuilder<?> builder)
Registers an AssertionBuilder with a specified QName. |
Method Detail |
---|
PolicyBuilder getPolicyEngine()
ConverterRegistry getConverterRegistry()
void registerBuilder(QName key, AssertionBuilder<?> builder)
key
- the QName that the AssertionBuilder understandbuilder
- the AssertionBuilder that can build an Assertion from
an element of specified typevoid registerBuilder(AssertionBuilder<?> builder)
builder
- the AssertionBuilder that can build an Assertion from
an element of specified typeAssertion build(Object element)
element
- the element that the AssertionBuilder can use to build an
Assertion.
AssertionBuilder<?> getBuilder(QName qname)
qname
- the type that the AssertionBuilder understands and builds an
Assertion from
|
Apache Neethi 3.0.2-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |