|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object moritz.eric.TallXSLT
Constructor Summary | |
TallXSLT(java.lang.String templateDir)
This is the Constructor |
Method Summary | |
DataStore |
getDataStore()
This returns the current DataStore. |
java.lang.String |
getTemplateDir()
This returns the current template directory |
java.lang.String |
getTemplateExtension()
This returns the default template extention |
java.lang.String |
parse(java.lang.String templateName)
This parses a XSL template from your template dir. |
void |
setTemplateExtension(java.lang.String templateExtension)
This sets the default template extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TallXSLT(java.lang.String templateDir) throws java.lang.Exception
templateDir
- The absolute path to the folder holding your templatesMethod Detail |
public java.lang.String parse(java.lang.String templateName) throws java.lang.Exception
templateName
- This is the filename without any inital directory seperators or extention. i.e. use 'test' not /test.xsl
for subdirectories, seperated them with a period. i.e. products/smalldisplay.xsl becomes "products.smalldisplay". The reason for this
is to allow the template names to be platform independent.
java.lang.Exception
public java.lang.String getTemplateDir()
public DataStore getDataStore()
public void setTemplateExtension(java.lang.String templateExtension)
templateExtension
- This is the template extensionpublic java.lang.String getTemplateExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |