public interface AssertionBuilder<T>
Modifier and Type | Method and Description |
---|---|
Assertion |
build(T element,
AssertionBuilderFactory factory)
Constructs an assertion from a known element.
|
QName[] |
getKnownElements()
Returns an array of QNames of elements from which assertion can be
built by this AssertionFactory.
|
Assertion build(T element, AssertionBuilderFactory factory) throws IllegalArgumentException
element
- the known element from which an assertion can be builtfactory
- the factory from which AssertionBuilders are taken to build
assertion from unknown child elementsIllegalArgumentException
- if the given element is malformedQName[] getKnownElements()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.