Apache CXF API

org.apache.cxf.ws.policy.builders.jaxb
Class JaxbAssertion<T>

java.lang.Object
  extended by org.apache.cxf.ws.policy.builders.jaxb.JaxbAssertion<T>
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class JaxbAssertion<T>
extends java.lang.Object
implements org.apache.neethi.Assertion


Constructor Summary
JaxbAssertion()
           
 
Method Summary
 boolean equal(org.apache.neethi.PolicyComponent policyComponent)
           
 T getData()
           
 javax.xml.namespace.QName getName()
           
 short getType()
           
 boolean isOptional()
           
 org.apache.neethi.PolicyComponent normalize()
          Returns the partial normalized version of the wrapped element, that is assumed to be an assertion.
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbAssertion

public JaxbAssertion()
Method Detail

getData

public T getData()

getName

public javax.xml.namespace.QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.apache.neethi.Assertion

normalize

public org.apache.neethi.PolicyComponent normalize()
Returns the partial normalized version of the wrapped element, that is assumed to be an assertion.

Specified by:
normalize in interface org.apache.neethi.Assertion

equal

public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
Specified by:
equal in interface org.apache.neethi.PolicyComponent

getType

public short getType()
Specified by:
getType in interface org.apache.neethi.PolicyComponent

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Throws:
javax.xml.stream.XMLStreamException

Apache CXF API

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