|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.identity.saml.assertion.Action
public class 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 | |
---|---|
protected String |
_action
|
protected String |
_namespace
|
Constructor Summary | |
---|---|
Action(Element element)
Constructs an action element from an existing XML block. |
|
Action(String namespace,
String action)
Convenience constructor of <Action> |
Method Summary | |
---|---|
String |
getAction()
Gets the action string |
String |
getNameSpace()
Gets the namespace of Action |
String |
toString()
Creates a String representation of the saml:Action element |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the saml:Action element |
Field Detail |
---|
protected String _action
protected String _namespace
Constructor Detail |
---|
public Action(Element element) throws SAMLException
element
- representing a DOM tree element.
SAMLException
- f there is an error in the sender or in
the element definition.public Action(String namespace, String action) throws SAMLException
namespace
- The attribute "namespace" of
<Action>
elementaction
- A String representing an action
SAMLException
- if there is an error in the sender or in
the element definition.Method Detail |
---|
public String getAction()
public String getNameSpace()
public String toString()
saml:Action
element
toString
in class Object
public String toString(boolean includeNS, boolean declareNS)
saml:Action
element
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |