public class Dispatch extends Object
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected PageInstance[] |
pageInstancePath |
Constructor and Description |
---|
Dispatch(PageInstance... pageInstancePath) |
Modifier and Type | Method and Description |
---|---|
Class<? extends ActionBean> |
getActionBeanClass() |
int |
getClosestSubtreeRootIndex() |
PageInstance |
getLastPageInstance()
Returns the last page instance in the path.
|
PageInstance |
getPageInstance(int index) |
PageInstance[] |
getPageInstancePath()
Returns the path of pages that constitute the dispatch.
|
PageInstance[] |
getPageInstancePath(int startIndex)
Returns a subpath of the page instance path.
|
PageInstance |
getRootPageInstance()
Returns the root page instance, the first in the path.
|
public static final String copyright
protected final PageInstance[] pageInstancePath
public Dispatch(PageInstance... pageInstancePath)
public PageInstance[] getPageInstancePath()
public PageInstance[] getPageInstancePath(int startIndex)
startIndex
- the index in the path that the subpath starts from.public PageInstance getRootPageInstance()
public PageInstance getLastPageInstance()
public PageInstance getPageInstance(int index)
public int getClosestSubtreeRootIndex()
public Class<? extends ActionBean> getActionBeanClass()