be.dvw.administration.mvc.navigation
Class LeftMenuXSLTImpl

java.lang.Object
  extended bybe.dvw.administration.mvc.navigation.LeftMenuXSLTImpl
All Implemented Interfaces:
LeftMenu

public class LeftMenuXSLTImpl
extends java.lang.Object
implements LeftMenu

Created by IntelliJ IDEA. User: Toon.Timbermont Date: Mar 25, 2005 Time: 6:19:27 PM To change this template use File | Settings | File Templates.


Constructor Summary
LeftMenuXSLTImpl(java.lang.String currentItem)
          Constructor based on the currently selected item, defining the currentMenu
 
Method Summary
 org.dom4j.Document getCurrentMenu()
          Method returning the unformatted HTML menu based on the XSL transformation
protected  org.dom4j.Document getCurrentMenu(org.dom4j.Document document, java.lang.String currentItem)
          Helper method that transforms the menu XML to the output HTML
protected  org.dom4j.Document getXmlMenu()
          Helper method that reads the XML menu file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeftMenuXSLTImpl

public LeftMenuXSLTImpl(java.lang.String currentItem)
                 throws java.io.IOException,
                        org.dom4j.DocumentException,
                        javax.xml.transform.TransformerException
Constructor based on the currently selected item, defining the currentMenu

Parameters:
currentItem -
Throws:
java.io.IOException
org.dom4j.DocumentException
javax.xml.transform.TransformerException
Method Detail

getCurrentMenu

public org.dom4j.Document getCurrentMenu()
Method returning the unformatted HTML menu based on the XSL transformation

Specified by:
getCurrentMenu in interface LeftMenu
Returns:
currrentMenu

getXmlMenu

protected org.dom4j.Document getXmlMenu()
                                 throws java.net.MalformedURLException,
                                        org.dom4j.DocumentException
Helper method that reads the XML menu file

Returns:
Throws:
java.net.MalformedURLException
org.dom4j.DocumentException

getCurrentMenu

protected org.dom4j.Document getCurrentMenu(org.dom4j.Document document,
                                            java.lang.String currentItem)
                                     throws javax.xml.transform.TransformerException
Helper method that transforms the menu XML to the output HTML

Parameters:
document -
currentItem -
Returns:
Throws:
javax.xml.transform.TransformerException


Copyright © 2005 VZW Koninklijke Muziekvereniging 'De Vrije Werklieden' Lebbeke. All Rights Reserved.