public interface AssertionBuilderFactory
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 fromCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.