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
-
Method Summary
Modifier and TypeMethodDescriptiongetActor()
Returns value ofactor
attribute.Returns a list of child elements.getId()
Returns value ofid
attribute.Returns value ofmustUnderstand
attribute.getRef()
Returns value ofref
attribute.void
Sets value ofactor
attribute.void
setElements
(List elements) Sets a list of child elements.void
setMustUnderstand
(Boolean mustUnderstand) Sets value ofmustUnderstand
attribute.void
Sets value ofref
attribute.void
setSignFlag
(boolean signFlag) Sets the sign flag.
-
Constructor Details
-
UsageDirectiveHeader
Constructor.- Parameters:
ref
- the value ofref
attribute.- Throws:
SOAPBindingException
- if the value ofref
attribute is null.
-
-
Method Details
-
getRef
Returns value ofref
attribute.- Returns:
- value of
ref
attribute.
-
getId
Returns value ofid
attribute.- Returns:
- value of
id
attribute.
-
getMustUnderstand
Returns value ofmustUnderstand
attribute.- Returns:
- value of
mustUnderstand
attribute.
-
getActor
Returns value ofactor
attribute.- Returns:
- value of
actor
attribute.
-
getElements
Returns a list of child elements. Each entry will be aorg.w3c.dom.Element
.- Returns:
- a list of child elements
-
setRef
Sets value ofref
attribute.- Parameters:
ref
- value ofref
attribute
-
setMustUnderstand
Sets value ofmustUnderstand
attribute.- Parameters:
mustUnderstand
- value ofmustUnderstand
attribute.
-
setActor
Sets value ofactor
attribute.- Parameters:
actor
- value ofactor
attribute.
-
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
-