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

PortalNode - JBOSS Portal 2.2 API 英文版文档


org.jboss.portlet
Interface PortalNode

All Known Subinterfaces:
JBossPortalNode

public interface PortalNode


Field Summary
static int TYPE_CONTEXT
           
static int TYPE_PAGE
           
static int TYPE_PORTAL
           
static int 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
See Also:
Constant Field Values

TYPE_PORTAL

public static final int TYPE_PORTAL
See Also:
Constant Field Values

TYPE_PAGE

public static final int TYPE_PAGE
See Also:
Constant Field Values

TYPE_WINDOW

public static final int 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