public class Dispatcher.Root extends Object implements DispatchElement
copyright| Constructor and Description |
|---|
Dispatcher.Root() |
| Modifier and Type | Method and Description |
|---|---|
DispatchElement |
consumePathFragment(String pathFragment)
Visits a path element.
|
PageInstance |
getPageInstance()
Returns the PageInstance of this element.
|
void |
setPageInstance(PageInstance pageInstance)
Sets the PageInstance of this element.
|
public DispatchElement consumePathFragment(String pathFragment)
DispatchElementconsumePathFragment in interface DispatchElementpathFragment - one of the elements of the path being visited (e.g. in /a/b/c, one path fragment might be
the string "a")public PageInstance getPageInstance()
DispatchElementgetPageInstance in interface DispatchElementpublic void setPageInstance(PageInstance pageInstance)
DispatchElementsetPageInstance in interface DispatchElement