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

public 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

public String applyTemplates(DVSLNode node)
                      throws Exception
Throws:
Exception

applyTemplates

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

applyTemplates

public String applyTemplates()
                      throws Exception
Throws:
Exception

copy

public String copy()
            throws Exception
Throws:
Exception

get

public Object get(String key)

getAppValue

public Object getAppValue(Object key)

putAppValue

public Object putAppValue(Object key,
                          Object value)


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