org.apache.cxf.ws.security.policy.builders
Class LayoutBuilder
java.lang.Object
org.apache.cxf.ws.security.policy.builders.LayoutBuilder
- All Implemented Interfaces:
- AssertionBuilder
public class LayoutBuilder
- extends java.lang.Object
- implements AssertionBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutBuilder
public LayoutBuilder(PolicyBuilder b)
getKnownElements
public java.util.List<javax.xml.namespace.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
build
public PolicyAssertion build(org.w3c.dom.Element element)
throws java.lang.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:
java.lang.IllegalArgumentException
processAlternative
public void processAlternative(java.util.List assertions,
Layout parent,
SPConstants consts)
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