Class UsageDirectiveHeader
java.lang.Object
com.sun.identity.liberty.ws.soapbinding.UsageDirectiveHeader
The
UsageDirectiveHeader class represents 'UsageDirective'
element defined in SOAP binding schema.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActor()Returns value ofactorattribute.Returns a list of child elements.getId()Returns value ofidattribute.Returns value ofmustUnderstandattribute.getRef()Returns value ofrefattribute.voidSets value ofactorattribute.voidsetElements(List elements) Sets a list of child elements.voidsetMustUnderstand(Boolean mustUnderstand) Sets value ofmustUnderstandattribute.voidSets value ofrefattribute.voidsetSignFlag(boolean signFlag) Sets the sign flag.
-
Constructor Details
-
UsageDirectiveHeader
Constructor.- Parameters:
ref- the value ofrefattribute.- Throws:
SOAPBindingException- if the value ofrefattribute is null.
-
-
Method Details
-
getRef
Returns value ofrefattribute.- Returns:
- value of
refattribute.
-
getId
Returns value ofidattribute.- Returns:
- value of
idattribute.
-
getMustUnderstand
Returns value ofmustUnderstandattribute.- Returns:
- value of
mustUnderstandattribute.
-
getActor
Returns value ofactorattribute.- Returns:
- value of
actorattribute.
-
getElements
Returns a list of child elements. Each entry will be aorg.w3c.dom.Element.- Returns:
- a list of child elements
-
setRef
Sets value ofrefattribute.- Parameters:
ref- value ofrefattribute
-
setMustUnderstand
Sets value ofmustUnderstandattribute.- Parameters:
mustUnderstand- value ofmustUnderstandattribute.
-
setActor
Sets value ofactorattribute.- Parameters:
actor- value ofactorattribute.
-
setElements
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
-