|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.xmlpolicy.PolicyXMLNode issrg.pba.rbac.xmlpolicy.XMLPolicyParser.ActionPolicyNode
public class XMLPolicyParser.ActionPolicyNode
The class representing an ActionPolicy XML node. It holds a collection of action definitions, indexed by the action name. The definitions include parameter names and order, and the return type name.
getActionDefinition(String)
Field Summary | |
---|---|
static java.lang.String |
ARGS_SEPARATORS
This is the string, containing all the delimiter characters between arguments in NMTOKENS. |
Fields inherited from class issrg.pba.rbac.xmlpolicy.PolicyXMLNode |
---|
attributes, children, name, nodeStr |
Constructor Summary | |
---|---|
XMLPolicyParser.ActionPolicyNode(org.xml.sax.Attributes attrs)
This is the default constructor used by the XMLPolicyParser. |
Method Summary | |
---|---|
void |
construct()
This method gets information from the child nodes and sticks them in the actions map. |
java.lang.String[] |
getActionDefinition(java.lang.String name)
Returns the action definition as an array of strings. |
java.lang.String[] |
getApplyToTargets(java.lang.String name)
Returns an array of String of the targets this action applies to. |
java.lang.String |
getNameFromID(java.lang.String actionID)
Returns the Name attribute corresponding to a given ID attribute. |
Methods inherited from class issrg.pba.rbac.xmlpolicy.PolicyXMLNode |
---|
addChild, addString, getAttributes, getChildren, getName, getString, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ARGS_SEPARATORS
Constructor Detail |
---|
public XMLPolicyParser.ActionPolicyNode(org.xml.sax.Attributes attrs)
Method Detail |
---|
public void construct()
getActionDefinition
construct
in class PolicyXMLNode
public java.lang.String[] getActionDefinition(java.lang.String name)
name
- - the action name
public java.lang.String[] getApplyToTargets(java.lang.String name)
name
- - the action name
public java.lang.String getNameFromID(java.lang.String actionID)
actionID
- the ID attribute to get the Action Name for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |