Package com.sun.identity.saml.assertion
Class Action
java.lang.Object
com.sun.identity.saml.assertion.Action
This class is designed for
Action
element in SAML core
assertion. This element specifies an action on specified resource for
which permission is sought.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
_action
-
_namespace
-
-
Constructor Details
-
Action
Constructs an action element from an existing XML block.- Parameters:
element
- representing a DOM tree element.- Throws:
SAMLException
- f there is an error in the sender or in the element definition.
-
Action
Convenience constructor of <Action>- Parameters:
namespace
- The attribute "namespace" of<Action>
elementaction
- A String representing an action- Throws:
SAMLException
- if there is an error in the sender or in the element definition.
-
-
Method Details
-
getAction
Gets the action string- Returns:
- A String representing the action
-
getNameSpace
Gets the namespace of Action- Returns:
- A String representing the name space of the action
-
toString
Creates a String representation of thesaml:Action
element -
toString
Creates a String representation of thesaml:Action
element- Parameters:
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.- Returns:
- A string containing the valid XML for this element
-