FreeHEP API
Version current

org.freehep.tools
Class WebPageIncluder

java.lang.Object
  extended byorg.freehep.tools.WebPageIncluder

public class WebPageIncluder
extends Object

Source Code:
WebPageIncluder.java

Constructor Summary
WebPageIncluder(org.apache.velocity.context.Context context)
           
 
Method Summary
 String menu(String xmlFile)
          Converts 'xmlFile' using 'Menu.xslt'
 String xml(String xmlFile)
           
 String xslt(String xmlFile, String xsltFile)
          Converts 'xmlFile' using 'xsltFile'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPageIncluder

public WebPageIncluder(org.apache.velocity.context.Context context)
                throws Exception
Method Detail

menu

public String menu(String xmlFile)
            throws TransformerConfigurationException,
                   TransformerException
Converts 'xmlFile' using 'Menu.xslt'

Throws:
TransformerConfigurationException
TransformerException

xslt

public String xslt(String xmlFile,
                   String xsltFile)
            throws TransformerConfigurationException,
                   TransformerException
Converts 'xmlFile' using 'xsltFile'

Throws:
TransformerConfigurationException
TransformerException

xml

public String xml(String xmlFile)
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.