Implementation of the PageManager interface which pulls all page
definitions from a single XML file. A default page can be specified
as a failover in case a page is not defined.
Note: The XMLPageManager does not support writing. Any method
which would modify pages in the page manager will throw an
UnsupportedOperationException.
Get a PageInstance from the given path. If no page can be found
then this method will throw a FileNotFoundException.
Parameters: path - The page path The Page throws: Exception - Any Exception
Get an iterator which can be used to iterate through all the
pages at or below the specified path. If the path refers
to a file, then the file's parent directory is used.
Parameters: path - The base path An Iterator of Pages throws: Exception - Any Exception
Get the Virtual File System root file. The Virtual File System
provides a datasource-independent way of navigating through all
items known to the PageManager.
The root VFSFile throws: Exception -
Make the directory for the specified path. Parent directories
will also be created if they do not exist. The XMLPageManager
does not currently support writing, so this method will throw
an UnsupportedOperationException.
Parameters: path - The directory path
Put the page instance into the location specified by the given
path. The XMLPageManager does not currently support writing, so this
method will throw an UnsupportedOperationException.
Parameters: path - The page path Parameters: page - The Page object throws: Exception -
Remove the directory for the specified path. The directory
must be empty. The XMLPageManager does not currently support
writing, so this method will throw an UnsupportedOperationException.
Parameters: path - The path throws: Exception -
Remove the page at the specified path. The XMLPageManager does not
currently support writing, so this method will throw an
UnsupportedOperationException.
Parameters: path - The page path throws: Exception -