public class JaxbAssertion<T> extends PrimitiveAssertion
Constructor and Description |
---|
JaxbAssertion() |
JaxbAssertion(QName qn,
boolean optional) |
JaxbAssertion(QName qn,
boolean optional,
boolean ignorable) |
Modifier and Type | Method and 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.Assertion |
clone(boolean optional) |
boolean |
equal(org.apache.neethi.PolicyComponent policyComponent) |
boolean |
equals(Object o) |
T |
getData() |
int |
hashCode() |
void |
serialize(XMLStreamWriter writer) |
void |
setData(T d) |
addAttribute, addAttributes, getAttribute, getAttributes, getName, getOrCreatePrefix, getTextValue, getType, hasContents, isIgnorable, isOptional, normalize, setIgnorable, setName, setOptional, setTextValue, toString, writeAttributes, writeContents
public JaxbAssertion()
public JaxbAssertion(QName qn, boolean optional)
public JaxbAssertion(QName qn, boolean optional, boolean ignorable)
public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
equal
in interface org.apache.neethi.PolicyComponent
equal
in class org.apache.neethi.builders.PrimitiveAssertion
public boolean equals(Object o)
equals
in class org.apache.neethi.builders.PrimitiveAssertion
public int hashCode()
hashCode
in class org.apache.neethi.builders.PrimitiveAssertion
public void setData(T d)
public T getData()
protected org.apache.neethi.Assertion clone(boolean optional)
clone
in class PrimitiveAssertion
public static <T> JaxbAssertion<T> cast(org.apache.neethi.Assertion a)
public static <T> JaxbAssertion<T> cast(org.apache.neethi.Assertion a, Class<T> type)
public void serialize(XMLStreamWriter writer) throws XMLStreamException
serialize
in interface org.apache.neethi.Assertion
serialize
in interface org.apache.neethi.PolicyComponent
serialize
in class org.apache.neethi.builders.PrimitiveAssertion
XMLStreamException
Apache CXF