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)
DispatchElement
consumePathFragment
in interface DispatchElement
pathFragment
- 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()
DispatchElement
getPageInstance
in interface DispatchElement
public void setPageInstance(PageInstance pageInstance)
DispatchElement
setPageInstance
in interface DispatchElement