|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.structure.ObjectNode
org.apache.slide.structure.ActionNode
Action node class. The namespace is used to distinguish actions with the
same simple name.
Although this class has a namespace
attribute the equality of
two ActionNode
s can still be determined by comparing their
URIs. Therefore this class does not override equals(Object)
from ObjectNode
.
Nested Class Summary |
Nested classes inherited from class org.apache.slide.structure.ObjectNode |
ObjectNode.Binding, ObjectNode.BindingList, ObjectNode.ParentBinding, ObjectNode.ParentBindingList |
Field Summary | |
static ActionNode |
ALL
|
static java.lang.String |
ALL_URI
|
static ActionNode |
DEFAULT
|
static java.lang.String |
DEFAULT_URI
generic actions |
Fields inherited from class org.apache.slide.structure.ObjectNode |
uri |
Constructor Summary | |
ActionNode()
Constructor. |
|
ActionNode(java.lang.String uri)
Default constructor. |
|
ActionNode(java.lang.String uri,
org.jdom.Namespace namespace)
Create an ActionNode with a namespace extracted from the
privilege-namespace property. |
|
ActionNode(java.lang.String uri,
java.util.Vector children,
java.util.Vector links)
Default constructor. |
|
ActionNode(java.lang.String uuri,
java.util.Vector bindings,
java.util.Vector parentBindings,
java.util.Vector links)
|
Method Summary | |
static ActionNode |
getActionNode(java.lang.String actionUri)
Create an ActionNode without a namespace. |
static ActionNode |
getActionNode(java.lang.String actionUri,
org.jdom.Namespace namespace)
Create an ActionNode with a namespace. |
org.jdom.Namespace |
getNamespace()
Get the namespace. |
Methods inherited from class org.apache.slide.structure.ObjectNode |
addBinding, addChild, addLink, addParentBinding, cloneObject, copyObject, enumerateBindings, enumerateChildren, enumerateLinks, enumerateParentBindings, equals, getBindingUuri, getChildren, getPath, getUpdatedBindings, getUri, getUuri, hasBinding, hasBinding, hasChild, hasChild, hasChildren, hashCode, hasLinks, hasParentBinding, numberOfParentBindings, removeChild, removeLink, resetUpdatedBindings, setUri, setUuri, toString, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_URI
public static final java.lang.String ALL_URI
public static final ActionNode DEFAULT
public static final ActionNode ALL
Constructor Detail |
public ActionNode()
public ActionNode(java.lang.String uri)
public ActionNode(java.lang.String uri, java.util.Vector children, java.util.Vector links)
public ActionNode(java.lang.String uuri, java.util.Vector bindings, java.util.Vector parentBindings, java.util.Vector links)
public ActionNode(java.lang.String uri, org.jdom.Namespace namespace)
ActionNode
with a namespace extracted from the
privilege-namespace
property.
uri
- The Slide-internal URI of the ActionNode.namespace
- The namespace of the action.Method Detail |
public static ActionNode getActionNode(java.lang.String actionUri)
ActionNode
without a namespace. If retrieval of
the namespace is attempted on the result an exception will be thrown.
This method is not required to return a unique instance each time it is
invoked.
actionUri
- The URI which uniquely identifies the ActionNode
.
ActionNode
without a namespace.public static ActionNode getActionNode(java.lang.String actionUri, org.jdom.Namespace namespace)
namespace
- The namespace of the ActionNode
.
ActionNode
with a namespace.public org.jdom.Namespace getNamespace()
ActionNode
was constructed
without a namespace, an exception will be thrown.
ActionNode
.
java.lang.IllegalStateException
- The ActionNode
was
constructed without a namespace.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |