Class JaxbAssertion<T>
- java.lang.Object
-
- org.apache.neethi.builders.PrimitiveAssertion
-
- org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertion
-
- org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertion<T>
-
- All Implemented Interfaces:
org.apache.neethi.Assertion,org.apache.neethi.PolicyComponent
public class JaxbAssertion<T> extends PrimitiveAssertion
-
-
Constructor Summary
Constructors Constructor Description JaxbAssertion()JaxbAssertion(QName qn, boolean optional)JaxbAssertion(QName qn, boolean optional, boolean ignorable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> JaxbAssertion<T>cast(org.apache.neethi.Assertion a)static <T> JaxbAssertion<T>cast(org.apache.neethi.Assertion a, Class<T> type)protected org.apache.neethi.Assertionclone(boolean optional)booleanequal(org.apache.neethi.PolicyComponent policyComponent)booleanequals(Object o)TgetData()inthashCode()voidserialize(XMLStreamWriter writer)voidsetData(T d)-
Methods inherited from class org.apache.neethi.builders.PrimitiveAssertion
addAttribute, addAttributes, getAttribute, getAttributes, getName, getOrCreatePrefix, getTextValue, getType, hasContents, isIgnorable, isOptional, normalize, setIgnorable, setName, setOptional, setTextValue, toString, writeAttributes, writeContents
-
-
-
-
Method Detail
-
equal
public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
- Specified by:
equalin interfaceorg.apache.neethi.PolicyComponent- Overrides:
equalin classorg.apache.neethi.builders.PrimitiveAssertion
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classorg.apache.neethi.builders.PrimitiveAssertion
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.apache.neethi.builders.PrimitiveAssertion
-
setData
public void setData(T d)
-
getData
public T getData()
-
clone
protected org.apache.neethi.Assertion clone(boolean optional)
- Overrides:
clonein classPrimitiveAssertion
-
cast
public static <T> JaxbAssertion<T> cast(org.apache.neethi.Assertion a)
-
cast
public static <T> JaxbAssertion<T> cast(org.apache.neethi.Assertion a, Class<T> type)
-
serialize
public void serialize(XMLStreamWriter writer) throws XMLStreamException
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Overrides:
serializein classorg.apache.neethi.builders.PrimitiveAssertion- Throws:
XMLStreamException
-
-