Please is it possible to access the content of Pages.xml from within the Java Code
You can access component that resembles it : Pages.instance().