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) |
T |
getData() |
void |
serialize(XMLStreamWriter writer) |
void |
setData(T d) |
addAttribute, addAttributes, getAttribute, getName, getOrCreatePrefix, getTextValue, getType, hasContents, isIgnorable, isOptional, normalize, setIgnorable, setName, setOptional, setTextValue, toString, writeAttributes, writeContentspublic 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.PolicyComponentequal in class org.apache.neethi.builders.PrimitiveAssertionpublic void setData(T d)
public T getData()
protected org.apache.neethi.Assertion clone(boolean optional)
clone in class PrimitiveAssertionpublic 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.Assertionserialize in interface org.apache.neethi.PolicyComponentserialize in class org.apache.neethi.builders.PrimitiveAssertionXMLStreamExceptionApache CXF