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 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
Header(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
           
Header(String localName, String uri)
          Deprecated. 
 
Method Summary
 boolean equals(Object object)
          An Object.equals(Object obj) method override.
 String getLocalName()
          return Local Name of the Header
 String getURI()
          return the URI of the Header.
 int hashCode()
          An Object.hashCode() method override.
 
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 Detail

Header

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

Creates a new instance of Header


Header

public Header(AssertionData name,
              Collection<PolicyAssertion> nestedAssertions,
              AssertionSet nestedAlternative)
       throws PolicyException
Throws:
PolicyException
Method Detail

equals

public boolean equals(Object object)
Description copied from class: PolicyAssertion
An Object.equals(Object obj) method override.

Overrides:
equals in class PolicyAssertion

hashCode

public int hashCode()
Description copied from class: PolicyAssertion
An Object.hashCode() method override.

Overrides:
hashCode in class 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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.