Class Header

java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Header
All Implemented Interfaces:
Header

public class Header extends com.sun.xml.ws.policy.PolicyAssertion implements Header
Author:
K.Venugopal@sun.com
  • Field Summary

    Fields inherited from interface com.sun.xml.ws.security.policy.Header

    NAME, URI
  • Constructor Summary

    Constructors
    Constructor
    Description
    Header(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
     
    Header(String localName, String uri)
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
     
    return Local Name of the Header
    return the URI of the Header.
    int
     

    Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion

    getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString

    Methods inherited from class java.lang.Object

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

    • Header

      @Deprecated public Header(String localName, String uri)
      Deprecated.
      Creates a new instance of Header
    • Header

      public Header(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative) throws com.sun.xml.ws.policy.PolicyException
      Throws:
      com.sun.xml.ws.policy.PolicyException
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class com.sun.xml.ws.policy.PolicyAssertion
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.sun.xml.ws.policy.PolicyAssertion
    • getLocalName

      public String getLocalName()
      Description copied from interface: Header
      return Local Name of the Header
      Specified by:
      getLocalName in interface Header
    • getURI

      public String getURI()
      Description copied from interface: Header
      return the URI of the Header.
      Specified by:
      getURI in interface Header