I need a fully working XML Controller written in BlackBerry Java for OS5.
Please see the attached files to understand the classes and its relationships.
The interface is defined in [login to view URL], it should expose 3 methods:
. BigVector getRootNodes()
. BigVector getNodesFromBranch(int branch)
. IPage getIPage(String pageCode)
All data is retrieved from [login to view URL]
Please see full description and attached file.
## Deliverables
3 interface methods:
> public BigVector getRootNodes();
> public BigVector getNodesFromBranch(int branch);
> public IPage getIPage(String pageCode);
getRootNodes and getNodesFromBranch should fill a BigVector vector of type IMenuItem
All data is retrieved from **[login to view URL]**
Data should be retrieved per demand. It should not be cached before requesting a page node or a menu collection.
To understand which nodes are root nodes (needed at getRootNodes) see**[login to view URL]**
To understand which nodes are branch nodes (needed at getNodesFromBranch) see **[login to view URL]**
To understand how an IPage should be retrieved see **[login to view URL]**
Any doubt do not hesitate to ask. Thanks!