org.apache.dvsl
Interface TransformTool


public interface TransformTool

This is the tool interface exposed to the stylesheet.

Author:
Geir Magnusson Jr.

Method Summary
 String applyTemplates()
           
 String applyTemplates(DVSLNode node)
           
 String applyTemplates(DVSLNode node, String xpath)
           
 String applyTemplates(String xpath)
           Applies templates in the current stylesheet to the nodeset returned by the XPath expression
 String copy()
           
 Object get(String key)
           
 Object getAppValue(Object key)
           
 Object putAppValue(Object key, Object value)
           
 

Method Detail

applyTemplates

String applyTemplates(String xpath)
                      throws Exception

Applies templates in the current stylesheet to the nodeset returned by the XPath expression

Parameters:
xpath - XPath expression to select nodes
Returns:
The rendered result
Throws:
Exception

applyTemplates

String applyTemplates(DVSLNode node)
                      throws Exception
Throws:
Exception

applyTemplates

String applyTemplates(DVSLNode node,
                      String xpath)
                      throws Exception
Throws:
Exception

applyTemplates

String applyTemplates()
                      throws Exception
Throws:
Exception

copy

String copy()
            throws Exception
Throws:
Exception

get

Object get(String key)

getAppValue

Object getAppValue(Object key)

putAppValue

Object putAppValue(Object key,
                   Object value)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.