Apache CXF API

org.apache.cxf.ws.policy.builders.primitive
Class NestedPrimitiveAssertion

java.lang.Object
  extended by org.apache.cxf.ws.policy.builders.primitive.PrimitiveAssertion
      extended by org.apache.cxf.ws.policy.builders.primitive.NestedPrimitiveAssertion
All Implemented Interfaces:
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).


Field Summary
 
Fields inherited from class org.apache.cxf.ws.policy.builders.primitive.PrimitiveAssertion
name, optional
 
Constructor Summary
  NestedPrimitiveAssertion(org.w3c.dom.Element elem, PolicyBuilder builder)
           
protected NestedPrimitiveAssertion(javax.xml.namespace.QName name, boolean optional)
           
 
Method Summary
 org.apache.neethi.Policy getNested()
           
 org.apache.neethi.PolicyComponent normalize()
           
 
Methods inherited from class org.apache.cxf.ws.policy.builders.primitive.PrimitiveAssertion
cloneMandatory, equal, getName, getType, isOptional, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedPrimitiveAssertion

protected NestedPrimitiveAssertion(javax.xml.namespace.QName name,
                                   boolean optional)

NestedPrimitiveAssertion

public NestedPrimitiveAssertion(org.w3c.dom.Element elem,
                                PolicyBuilder builder)
Method Detail

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion
Overrides:
normalize in class PrimitiveAssertion

getNested

public org.apache.neethi.Policy getNested()

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.