com.sun.identity.liberty.ws.soapbinding
Class UsageDirectiveHeader

java.lang.Object
  extended bycom.sun.identity.liberty.ws.soapbinding.UsageDirectiveHeader

public class UsageDirectiveHeader
extends java.lang.Object

The UsageDirectiveHeader class represents 'UsageDirective' element defined in SOAP binding schema.


Constructor Summary
UsageDirectiveHeader(java.lang.String ref)
          This constructor takes value of 'ref' attribute which is required.
 
Method Summary
 java.lang.String getActor()
          Returns value of 'actor' attribute.
 java.util.List getElements()
          Returns a list of child elements.
 java.lang.String getId()
          Returns value of 'id' attribute.
 java.lang.Boolean getMustUnderstand()
          Returns value of 'mustUnderstand' attribute.
 java.lang.String getRef()
          Returns value of 'ref' attribute.
 void setActor(java.lang.String actor)
          Sets value of 'actor' attribute.
 void setElements(java.util.List elements)
          Sets a list of child elements.
 void setMustUnderstand(java.lang.Boolean mustUnderstand)
          Sets value of 'mustUnderstand' attribute.
 void setRef(java.lang.String ref)
          Sets value of 'ref' attribute.
 void setSignFlag(boolean signFlag)
          Sets the sign flag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageDirectiveHeader

public UsageDirectiveHeader(java.lang.String ref)
                     throws SOAPBindingException
This constructor takes value of 'ref' attribute which is required.

Parameters:
ref - a ref attribute
Throws:
SOAPBindingException - if the value of 'ref' attribute is null
Method Detail

getRef

public java.lang.String getRef()
Returns value of 'ref' attribute.

Returns:
value of 'ref' attribute

getId

public java.lang.String getId()
Returns value of 'id' attribute.

Returns:
value of 'id' attribute

getMustUnderstand

public java.lang.Boolean getMustUnderstand()
Returns value of 'mustUnderstand' attribute.

Returns:
value of 'mustUnderstand' attribute

getActor

public java.lang.String getActor()
Returns value of 'actor' attribute.

Returns:
value of 'actor' attribute

getElements

public java.util.List getElements()
Returns a list of child elements. Each entry will be a org.w3c.dom.Element.

Returns:
a list of child elements

setRef

public void setRef(java.lang.String ref)
Sets value of 'ref' attribute.

Parameters:
ref - value of 'ref' attribute

setMustUnderstand

public void setMustUnderstand(java.lang.Boolean mustUnderstand)
Sets value of 'mustUnderstand' attribute.

Parameters:
mustUnderstand - value of 'mustUnderstand' attribute

setActor

public void setActor(java.lang.String actor)
Sets value of 'actor' attribute.

Parameters:
actor - value of 'actor' attribute

setElements

public void setElements(java.util.List elements)
Sets a list of child elements. Each entry will be a org.w3c.dom.Element.

Parameters:
elements - a list of child elements

setSignFlag

public void setSignFlag(boolean signFlag)
Sets the sign flag. True to sign this header. The default of the sign flag is false.

Parameters:
signFlag - the sign flag


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.