org.exolab.adaptx.xslt

Class ProcessorCallback

Implemented Interfaces:
ErrorObserver

public class ProcessorCallback
extends ErrorObserverAdapter

This class is used for calling back into the RuleProcessor to perform special tasks, such as adding nodes to the result tree
Author:
Keith Visco (kvisco@ziplink.net)

Fields inherited from interface org.exolab.adaptx.util.ErrorObserver

FATAL, NORMAL, WARNING

Method Summary

String
getParameter(String name)
Returns the parameter value associated with the given name.
XPathResult
processVariable(Variable var, ProcessorState ps)

Methods inherited from class org.exolab.adaptx.util.ErrorObserverAdapter

addErrorObserver, receiveError, receiveError, receiveError, receiveError, receiveError, receiveError, removeAllErrorObservers, removeErrorObserver

Method Details

getParameter

public String getParameter(String name)
Returns the parameter value associated with the given name.
Parameters:
name - the name of the parameter to retrieve the value of
Returns:
the parameter value associated with the given name.

processVariable

public XPathResult processVariable(Variable var,
                                   ProcessorState ps)