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
  • Field Summary

    Fields inherited from class org.apache.neethi.builders.PrimitiveAssertion

    attributes, ignorable, name, optional, textValue
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    JaxbAssertion(QName qn, boolean optional)
     
    JaxbAssertion(QName qn, boolean optional, boolean ignorable)
     
  • Method Summary

    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.Assertion
    clone(boolean optional)
     
    boolean
    equal(org.apache.neethi.PolicyComponent policyComponent)
     
    boolean
     
     
    int
     
    void
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JaxbAssertion

      public JaxbAssertion()
    • JaxbAssertion

      public JaxbAssertion(QName qn, boolean optional)
    • JaxbAssertion

      public JaxbAssertion(QName qn, boolean optional, boolean ignorable)
  • Method Details

    • equal

      public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
      Specified by:
      equal in interface org.apache.neethi.PolicyComponent
      Overrides:
      equal in class org.apache.neethi.builders.PrimitiveAssertion
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.neethi.builders.PrimitiveAssertion
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.neethi.builders.PrimitiveAssertion
    • setData

      public void setData(T d)
    • getData

      public T getData()
    • clone

      protected org.apache.neethi.Assertion clone(boolean optional)
      Overrides:
      clone in class PrimitiveAssertion
    • 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:
      serialize in interface org.apache.neethi.Assertion
      Specified by:
      serialize in interface org.apache.neethi.PolicyComponent
      Overrides:
      serialize in class org.apache.neethi.builders.PrimitiveAssertion
      Throws:
      XMLStreamException