com.sun.identity.saml.assertion
クラス Action

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.Action

public class Action
extends Object

This class is designed for Action element in SAML core assertion. This element specifies an action on specified resource for which permission is sought.


フィールドの概要
protected  String _action
           
protected  String _namespace
           
 
コンストラクタの概要
Action(Element element)
          Constructs an action element from an existing XML block.
Action(String namespace, String action)
          Convenience constructor of <Action>
 
メソッドの概要
 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
 

フィールドの詳細

_action

protected String _action

_namespace

protected String _namespace
コンストラクタの詳細

Action

public Action(Element element)
       throws SAMLException
Constructs an action element from an existing XML block.

パラメータ:
element - representing a DOM tree element.
例外:
SAMLException - f there is an error in the sender or in the element definition.

Action

public Action(String namespace,
              String action)
       throws SAMLException
Convenience constructor of <Action>

パラメータ:
namespace - The attribute "namespace" of <Action> element
action - A String representing an action
例外:
SAMLException - if there is an error in the sender or in the element definition.
メソッドの詳細

getAction

public String getAction()
Gets the action string

戻り値:
A String representing the action

getNameSpace

public String getNameSpace()
Gets the namespace of Action

戻り値:
A String representing the name space of the action

toString

public String toString()
Creates a String representation of the saml:Action element

オーバーライド:
クラス Object 内の toString
戻り値:
A string containing the valid XML for this element

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Creates a String representation of the saml:Action element

パラメータ:
includeNS - : Determines whether or not the namespace qualifier is prepended to the Element when converted
declareNS - : Determines whether or not the namespace is declared within the Element.
戻り値:
A string containing the valid XML for this element