public class ActionImpl extends Object implements Action
Action
.
The Action
element specifies an action on the specified
resource for which permission is sought. Its type is ActionType
.
<complexType name="ActionType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="Namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </extension> </simpleContent> </complexType>
Constructor and Description |
---|
ActionImpl()
Class constructor.
|
ActionImpl(Element element)
Class constructor with
Action in Element
format. |
ActionImpl(String xmlString)
Class constructor with
Action in xml string format. |
Modifier and Type | Method and Description |
---|---|
String |
getNamespace()
Returns the value of the
Namespace property. |
String |
getValue()
Returns the value of the value property.
|
boolean |
isMutable()
Returns the mutability of the object.
|
void |
makeImmutable()
Makes the object immutable.
|
void |
setNamespace(String value)
Sets the value of the
Namespace property. |
void |
setValue(String value)
Sets the value of the value property.
|
String |
toXMLString()
Returns a String representation of the element.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of the element.
|
public ActionImpl()
public ActionImpl(Element element) throws SAML2Exception
Action
in Element
format.SAML2Exception
public ActionImpl(String xmlString) throws SAML2Exception
Action
in xml string format.SAML2Exception
public void makeImmutable()
makeImmutable
in interface Action
public boolean isMutable()
public String getValue()
getValue
in interface Action
setValue(String)
public void setValue(String value) throws SAML2Exception
setValue
in interface Action
value
- A String lable for the action to be set.SAML2Exception
- if the object is immutable.getValue()
public String getNamespace()
Namespace
property.getNamespace
in interface Action
Namespace
attribute.setNamespace(String)
public void setNamespace(String value) throws SAML2Exception
Namespace
property.setNamespace
in interface Action
value
- A String representing Namespace
attribute.SAML2Exception
- if the object is immutable.getNamespace()
public String toXMLString() throws SAML2Exception
toXMLString
in interface Action
SAML2Exception
- if the object does not conform to the schema.public String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
toXMLString
in interface Action
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.SAML2Exception
- if the object does not conform to the schema.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.