Class AbstractSecurityAssertion

java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent
Direct Known Subclasses:
AbstractConfigurableSecurityAssertion, Binding, ContentEncryptedElements, EncryptionToken, InitiatorToken, Layout, ProtectionToken, RecipientToken, RequiredElements, RequiredParts, SignatureToken, SignedEncryptedElements, SignedEncryptedParts, SupportingToken, Token, TransportToken, Trust10, Trust13, Wss10

public abstract class AbstractSecurityAssertion extends Object implements org.apache.neethi.Assertion
  • Field Details

    • version

      protected int version
  • Constructor Details

    • AbstractSecurityAssertion

      public AbstractSecurityAssertion()
  • Method Details

    • isOptional

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

      public void setOptional(boolean isOptional)
    • isIgnorable

      public boolean isIgnorable()
      Specified by:
      isIgnorable in interface org.apache.neethi.Assertion
    • setIgnorable

      public void setIgnorable(boolean isIgnorable)
    • getType

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

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

      public void setNormalized(boolean normalized)
    • isNormalized

      public boolean isNormalized()
    • normalize

      public org.apache.neethi.PolicyComponent normalize()
      Specified by:
      normalize in interface org.apache.neethi.Assertion
    • setVersion

      public void setVersion(int version)
    • getVersion

      public int getVersion()
    • writeStartElement

      protected static void writeStartElement(XMLStreamWriter writer, String defaultPrefix, String localPart, String uri) throws XMLStreamException
      Throws:
      XMLStreamException
    • writeStartElement

      protected static void writeStartElement(XMLStreamWriter writer, QName name) throws XMLStreamException
      Throws:
      XMLStreamException
    • writeEmptyElement

      protected static void writeEmptyElement(XMLStreamWriter writer, String defaultPrefix, String localPart, String uri) throws XMLStreamException
      Throws:
      XMLStreamException
    • writeAttribute

      protected static void writeAttribute(XMLStreamWriter writer, String defaultPrefix, String uri, String localPart, String value) throws XMLStreamException
      Throws:
      XMLStreamException