public class Action extends XMLElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTROL
The subject may specify the access control policy for the resource.
|
static java.lang.String |
CONTROL_DENIED
The subject cannot specify the access control policy for the resource.
|
static java.lang.String |
DELETE
The subject may delete the resource.
|
static java.lang.String |
DELETE_DENIED
The subject cannot delete the resource.
|
static java.lang.String |
EXECUTE
The subject may execute the resource.
|
static java.lang.String |
EXECUTE_DENIED
The subject cannot execute the resource.
|
static java.lang.String |
GET
The subject is authorized to perform the GET operation on the resource.
|
static java.lang.String |
HEAD
The subject is authorized to perform the HEAD operation on the resource.
|
static java.lang.String |
POST
The subject is authorized to perform the POST operation on the resource.
|
static java.lang.String |
PUT
The subject is authorized to perform the PUT operation on the resource.
|
static java.lang.String |
READ
The subject may read the resource.
|
static java.lang.String |
READ_DENIED
The subject cannot read the resource.
|
static java.lang.String |
WRITE
The subject may modify the resource.
|
static java.lang.String |
WRITE_DENIED
The subject cannot modify the resource.
|
Constructor and Description |
---|
Action(org.w3c.dom.Document owner)
Creates a new
Action instance. |
Action(org.w3c.dom.Element element)
Creates a new
Action instance from the given Element node. |
Action(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Action instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespace()
Gets the namespace in which the name of the specified action is to be interpreted.
|
java.lang.String |
getValue()
Returns the action sought to be performed on the specified resource.
|
void |
setNamespace(java.lang.String uri)
Sets the namespace of the action.
|
void |
setValue(java.lang.String value)
Sets the action sought to be performed on the specified resource.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public static final java.lang.String READ
public static final java.lang.String WRITE
public static final java.lang.String EXECUTE
public static final java.lang.String DELETE
public static final java.lang.String CONTROL
public static final java.lang.String READ_DENIED
public static final java.lang.String WRITE_DENIED
public static final java.lang.String EXECUTE_DENIED
public static final java.lang.String DELETE_DENIED
public static final java.lang.String CONTROL_DENIED
public static final java.lang.String GET
public static final java.lang.String HEAD
public static final java.lang.String PUT
public static final java.lang.String POST
public Action(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Action
instance from the given Element node.element
- An Action element.org.w3c.dom.DOMException
public Action(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Action
instance from the given Element node.element
- An Action element.systemId
- The URI string system ID for the Action
.org.w3c.dom.DOMException
public Action(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Action
instance.owner
- The owner document of the new Action.org.w3c.dom.DOMException
public void setNamespace(java.lang.String uri)
uri
- A URI
reference representing a namespace in which the name of the specified action is to be interpreted.public java.lang.String getNamespace()
URI
reference.public void setValue(java.lang.String value)
value
- A String value representing the action.public java.lang.String getValue()