Class UsageDirectiveHeader
- java.lang.Object
-
- com.sun.identity.liberty.ws.soapbinding.UsageDirectiveHeader
-
public class UsageDirectiveHeader extends Object
TheUsageDirectiveHeaderclass represents 'UsageDirective' element defined in SOAP binding schema.
-
-
Constructor Summary
Constructors Constructor Description UsageDirectiveHeader(String ref)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActor()Returns value ofactorattribute.ListgetElements()Returns a list of child elements.StringgetId()Returns value ofidattribute.BooleangetMustUnderstand()Returns value ofmustUnderstandattribute.StringgetRef()Returns value ofrefattribute.voidsetActor(String actor)Sets value ofactorattribute.voidsetElements(List elements)Sets a list of child elements.voidsetMustUnderstand(Boolean mustUnderstand)Sets value ofmustUnderstandattribute.voidsetRef(String ref)Sets value ofrefattribute.voidsetSignFlag(boolean signFlag)Sets the sign flag.
-
-
-
Constructor Detail
-
UsageDirectiveHeader
public UsageDirectiveHeader(String ref) throws SOAPBindingException
Constructor.- Parameters:
ref- the value ofrefattribute.- Throws:
SOAPBindingException- if the value ofrefattribute is null.
-
-
Method Detail
-
getRef
public String getRef()
Returns value ofrefattribute.- Returns:
- value of
refattribute.
-
getId
public String getId()
Returns value ofidattribute.- Returns:
- value of
idattribute.
-
getMustUnderstand
public Boolean getMustUnderstand()
Returns value ofmustUnderstandattribute.- Returns:
- value of
mustUnderstandattribute.
-
getActor
public String getActor()
Returns value ofactorattribute.- Returns:
- value of
actorattribute.
-
getElements
public List getElements()
Returns a list of child elements. Each entry will be aorg.w3c.dom.Element.- Returns:
- a list of child elements
-
setRef
public void setRef(String ref)
Sets value ofrefattribute.- Parameters:
ref- value ofrefattribute
-
setMustUnderstand
public void setMustUnderstand(Boolean mustUnderstand)
Sets value ofmustUnderstandattribute.- Parameters:
mustUnderstand- value ofmustUnderstandattribute.
-
setActor
public void setActor(String actor)
Sets value ofactorattribute.- Parameters:
actor- value ofactorattribute.
-
setElements
public void setElements(List elements)
Sets a list of child elements. Each entry will be aorg.w3c.dom.Element.- Parameters:
elements- a list of child elements
-
setSignFlag
public void setSignFlag(boolean signFlag)
Sets the sign flag. The header will be signed if the value is true.- Parameters:
signFlag- the sign flag
-
-