org.opensaml.saml2.core.impl
Class ActionImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.ActionImpl
All Implemented Interfaces:
SAMLObject, Action, ValidatingXMLObject, XMLObject

public class ActionImpl
extends AbstractSAMLObject
implements Action

A concrete implementation of Action.


Field Summary
private  String action
          Action value.
private  String namespace
          URI of the Namespace of this Action.
 
Fields inherited from interface org.opensaml.saml2.core.Action
CONTROL_ACTION, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, DELETE_ACTION, EXECUTE_ACTION, GHPP_NS_URI, HTTP_GET_ACTION, HTTP_HEAD_ACTION, HTTP_POST_ACTION, HTTP_PUT_ACTION, NAMEPSACE_ATTRIB_NAME, NEG_CONTROL_ACTION, NEG_DELETE_ACTION, NEG_EXECUTE_ACTION, NEG_READ_ACTION, NEG_WRITE_ACTION, READ_ACTION, RWEDC_NEGATION_NS_URI, RWEDC_NS_URI, TYPE_LOCAL_NAME, TYPE_NAME, UNIX_NS_URI, WRITE_ACTION
 
Constructor Summary
protected ActionImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getAction()
          Gets the URI of the action to be performed.
 String getNamespace()
          Gets the namespace scope of the specified action.
 List<XMLObject> getOrderedChildren()
          
 void setAction(String newAction)
          Sets the URI of the action to be performed.
 void setNamespace(String newNamespace)
          Sets the namespace scope of the specified action.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

namespace

private String namespace
URI of the Namespace of this Action.


action

private String action
Action value.

Constructor Detail

ActionImpl

protected ActionImpl(String namespaceURI,
                     String elementLocalName,
                     String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getNamespace

public String getNamespace()
Gets the namespace scope of the specified action.

Specified by:
getNamespace in interface Action
Returns:
the namespace scope of the specified action

setNamespace

public void setNamespace(String newNamespace)
Sets the namespace scope of the specified action.

Specified by:
setNamespace in interface Action
Parameters:
newNamespace - the namespace scope of the specified action

getAction

public String getAction()
Gets the URI of the action to be performed.

Specified by:
getAction in interface Action
Returns:
the URI of the action to be performed

setAction

public void setAction(String newAction)
Sets the URI of the action to be performed.

Specified by:
setAction in interface Action
Parameters:
newAction - the URI of the action to be performed

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.