com.sun.xml.ws.security.impl.policy
Class Header

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

public class Header
extends com.sun.xml.ws.policy.PolicyAssertion
implements Header


Field Summary
 
Fields inherited from interface com.sun.xml.ws.security.policy.Header
NAME, URI
 
Constructor Summary
Header(com.sun.xml.ws.policy.sourcemodel.AssertionData name, java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
           
Header(java.lang.String localName, java.lang.String uri)
          Deprecated. 
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getLocalName()
          return Local Name of the Header
 java.lang.String getURI()
          return the URI of the Header.
 int hashCode()
           
 
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
getAttributes, getAttributesSet, getAttributeValue, 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 Detail

Header

@Deprecated
public Header(java.lang.String localName,
                         java.lang.String uri)
Deprecated. 

Creates a new instance of Header


Header

public Header(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
              java.util.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 Detail

equals

public boolean equals(java.lang.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 java.lang.String getLocalName()
Description copied from interface: Header
return Local Name of the Header

Specified by:
getLocalName in interface Header

getURI

public java.lang.String getURI()
Description copied from interface: Header
return the URI of the Header.

Specified by:
getURI in interface Header