org.apache.cxf.ws.policy.mtom
Class MTOMAssertionBuilder
java.lang.Object
org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder
- All Implemented Interfaces:
- AssertionBuilder
public class MTOMAssertionBuilder
- extends java.lang.Object
- implements AssertionBuilder
Method Summary |
org.apache.neethi.Assertion |
build(org.w3c.dom.Element elem)
Constructs an assertion from an xml element. |
org.apache.neethi.Assertion |
buildCompatible(org.apache.neethi.Assertion a,
org.apache.neethi.Assertion b)
Returns a new assertion that is compatible with the two specified
assertions or null if no compatible assertion can be built. |
java.util.Collection<javax.xml.namespace.QName> |
getKnownElements()
Returns a collection of QNames describing the xml schema types for which this
builder can build assertions. |
void |
setBus(Bus b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTOMAssertionBuilder
public MTOMAssertionBuilder()
setBus
public void setBus(Bus b)
build
public org.apache.neethi.Assertion build(org.w3c.dom.Element elem)
- Description copied from interface:
AssertionBuilder
- Constructs an assertion from an xml element.
- Specified by:
build
in interface AssertionBuilder
- Parameters:
elem
- the element from which to build an assertion
- Returns:
- an Assertion built from the given element
getKnownElements
public java.util.Collection<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
buildCompatible
public org.apache.neethi.Assertion buildCompatible(org.apache.neethi.Assertion a,
org.apache.neethi.Assertion 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