org.viewaframework.util
Class ViewActionDescriptorFileHandler

java.lang.Object
  extended by org.viewaframework.util.ViewActionDescriptorFileHandler

public class ViewActionDescriptorFileHandler
extends Object

This class parses the menu.xml files to a Document object. It also converts the xpath expressions from the action descriptors to a Document object.

Since:
1.0.4
Author:
Mario Garcia

Constructor Summary
ViewActionDescriptorFileHandler()
           
 
Method Summary
 Document getDocument(ViewContainer view)
          Parses the menu.xml file from the view and returns a readable Document object
 Document getDocumentFromActionDescriptors(ViewContainer view)
          Parses the xpath expressions of the action descriptors from the view and returns a readable xml Document object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewActionDescriptorFileHandler

public ViewActionDescriptorFileHandler()
Method Detail

getDocument

public Document getDocument(ViewContainer view)
                     throws ViewException
Parses the menu.xml file from the view and returns a readable Document object

Parameters:
view - The view
Returns:
An xml Document object
Throws:
ViewException

getDocumentFromActionDescriptors

public Document getDocumentFromActionDescriptors(ViewContainer view)
Parses the xpath expressions of the action descriptors from the view and returns a readable xml Document object

Parameters:
view - The view
Returns:
An xml readable object


Copyright © 2010. All Rights Reserved.