org.apache.cxf.ws.security.policy.builders
Class WSS11Builder
java.lang.Object
org.apache.cxf.ws.security.policy.builders.WSS11Builder
- All Implemented Interfaces:
- AssertionBuilder
public class WSS11Builder
- extends Object
- implements AssertionBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSS11Builder
public WSS11Builder()
build
public PolicyAssertion build(Element element)
throws IllegalArgumentException
- Description copied from interface:
AssertionBuilder
- Constructs an assertion from an xml element.
- Specified by:
build
in interface AssertionBuilder
- Parameters:
element
- the element from which to build an assertion
- Returns:
- an Assertion built from the given element
- Throws:
IllegalArgumentException
getKnownElements
public List<QName> getKnownElements()
- Description copied from interface:
AssertionBuilder
- Returns a collection of QNames describing the xml schema types for which this
builder can build assertions.
- Specified by:
getKnownElements
in interface AssertionBuilder
- Returns:
- collection of QNames of known schema types
buildCompatible
public PolicyAssertion buildCompatible(PolicyAssertion a,
PolicyAssertion b)
- Description copied from interface:
AssertionBuilder
- Returns a new assertion that is compatible with the two specified
assertions or null if no compatible assertion can be built.
- Specified by:
buildCompatible
in interface AssertionBuilder
Apache CXF