com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class Action

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.ActionType
      extended by com.sun.xml.wss.saml.assertion.saml20.jaxb20.Action
All Implemented Interfaces:
Action

public class Action
extends ActionType
implements Action

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


Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.ActionType
namespace, value
 
Constructor Summary
Action(ActionType actionType)
           
Action(Element element)
          Constructs an action element from an existing XML block.
Action(String namespace, String action)
          Convenience constructor of Action
 
Method Summary
 String getNamespace()
          Gets the value of the namespace property.
 String getValue()
          Gets the value of the value property.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.ActionType
setNamespace, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

Action

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

Parameters:
element - representing a DOM tree element.
Throws:
SAMLException - if there is an error in the sender or in the element definition.

Action

public Action(String namespace,
              String action)
Convenience constructor of Action

Parameters:
namespace - The attribute "namespace" of Action element
action - A String representing an action
Throws:
SAMLException - if there is an error in the sender or in the element definition.

Action

public Action(ActionType actionType)
Method Detail

getValue

public String getValue()
Description copied from class: ActionType
Gets the value of the value property.

Specified by:
getValue in interface Action
Overrides:
getValue in class ActionType
Returns:
possible object is String

getNamespace

public String getNamespace()
Description copied from class: ActionType
Gets the value of the namespace property.

Specified by:
getNamespace in interface Action
Overrides:
getNamespace in class ActionType
Returns:
possible object is String


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.