站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

PortalNode - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.api.node
Interface PortalNode

All Known Subinterfaces:
JBossPortalNode

public interface PortalNode


Field Summary
static int TYPE_CONTEXT
          A node of type context.
static int TYPE_PAGE
          A node of type page.
static int TYPE_PORTAL
          A node of type portal.
static int TYPE_WINDOW
          A node of type window.
 
Method Summary
 PortalNode getChild(java.lang.String name)
          Return a child of this object.
 java.util.Collection getChildren()
          Return the children of this object.
 java.lang.String getName()
          Return the node name relative to its parent.
 PortalNode getParent()
          Return the parent node of this node.
 PortalNode getRoot()
          Return the root node of this node.
 int getType()
          Return the node type.
 PortalNode resolve(java.lang.String relativePath)
          Get a portal node relative to this object.
 

Field Detail

TYPE_CONTEXT

public static final int TYPE_CONTEXT
A node of type context.

See Also:
Constant Field Values

TYPE_PORTAL

public static final int TYPE_PORTAL
A node of type portal.

See Also:
Constant Field Values

TYPE_PAGE

public static final int TYPE_PAGE
A node of type page.

See Also:
Constant Field Values

TYPE_WINDOW

public static final int TYPE_WINDOW
A node of type window.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Return the node type.


getRoot

public PortalNode getRoot()
Return the root node of this node.


getParent

public PortalNode getParent()
Return the parent node of this node.


getName

public java.lang.String getName()
Return the node name relative to its parent.


getChild

public PortalNode getChild(java.lang.String name)
Return a child of this object.


getChildren

public java.util.Collection getChildren()
Return the children of this object.


resolve

public PortalNode resolve(java.lang.String relativePath)
Get a portal node relative to this object.

Parameters:
relativePath - the relative path
Returns:
the relative object