org.apache.cxf.ws.policy.builder.primitive
Class NestedPrimitiveAssertion
java.lang.Object
org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertion
org.apache.cxf.ws.policy.builder.primitive.NestedPrimitiveAssertion
- All Implemented Interfaces:
- PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
public class NestedPrimitiveAssertion
- extends PrimitiveAssertion
Implementation of an assertion that required exactly one (possibly empty) child element
of type Policy (as does for examples the wsam:Addressing assertion).
Constructor Summary |
NestedPrimitiveAssertion(Element elem,
PolicyBuilder builder)
|
NestedPrimitiveAssertion(Element elem,
PolicyBuilder builder,
boolean assertionRequired)
|
NestedPrimitiveAssertion(QName name,
boolean optional)
Deprecated. |
NestedPrimitiveAssertion(QName name,
boolean optional,
org.apache.neethi.Policy p,
boolean assertionRequired,
PolicyBuilder b)
|
NestedPrimitiveAssertion(QName name,
boolean optional,
PolicyBuilder b)
|
NestedPrimitiveAssertion
@Deprecated
public NestedPrimitiveAssertion(QName name,
boolean optional)
- Deprecated.
NestedPrimitiveAssertion
public NestedPrimitiveAssertion(QName name,
boolean optional,
PolicyBuilder b)
NestedPrimitiveAssertion
public NestedPrimitiveAssertion(QName name,
boolean optional,
org.apache.neethi.Policy p,
boolean assertionRequired,
PolicyBuilder b)
NestedPrimitiveAssertion
public NestedPrimitiveAssertion(Element elem,
PolicyBuilder builder)
NestedPrimitiveAssertion
public NestedPrimitiveAssertion(Element elem,
PolicyBuilder builder,
boolean assertionRequired)
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize
in interface org.apache.neethi.Assertion
- Overrides:
normalize
in class PrimitiveAssertion
equal
public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
- Specified by:
equal
in interface org.apache.neethi.PolicyComponent
- Overrides:
equal
in class PrimitiveAssertion
setPolicy
protected void setPolicy(org.apache.neethi.Policy n)
getPolicy
public org.apache.neethi.Policy getPolicy()
- Specified by:
getPolicy
in interface PolicyAssertion
- Overrides:
getPolicy
in class PrimitiveAssertion
isAsserted
public boolean isAsserted(AssertionInfoMap aim)
- Specified by:
isAsserted
in interface PolicyAssertion
- Overrides:
isAsserted
in class PrimitiveAssertion
isPolicyAsserted
protected boolean isPolicyAsserted(org.apache.neethi.PolicyOperator p,
AssertionInfoMap aim)
Apache CXF