org.apache.portals.graffito.portlets
Class TabReader

java.lang.Object
  extended byorg.apache.portals.graffito.portlets.TabReader

public class TabReader
extends java.lang.Object

This utility class build a collection of VelocityTab from a xml config file. The structure of the xml file is :

Version:
$Id: Exp $
Author:
Lombart Christophe

Constructor Summary
TabReader()
           
 
Method Summary
static java.util.HashMap getTabs(java.lang.String xmlFile)
          Build a collection of VelocityTab from an xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabReader

public TabReader()
Method Detail

getTabs

public static java.util.HashMap getTabs(java.lang.String xmlFile)
                                 throws java.io.IOException,
                                        org.xml.sax.SAXException,
                                        javax.xml.parsers.ParserConfigurationException
Build a collection of VelocityTab from an xml file.

Parameters:
xmlFile -
Returns:
a HashMap of VelocityTab
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.