| java.lang.Object org.directwebremoting.proxy.io.Context jsx3.lang.Object jsx3.xml.Template
Template | public class Template extends jsx3.lang.Object (Code) | | Wrapper of the native browser XSLT processor.
author: Joe Walker [joe at getahead dot org] author: DRAPGEN - Dwr Reverse Ajax Proxy GENerator |
Template | public Template(Context context, String extension, ScriptProxy scriptProxy)(Code) | | All reverse ajax proxies need context to work from
Parameters: scriptProxy - The place we are writing scripts to Parameters: context - The script that got us to where we are now |
getError | public jsx3.lang.Object getError()(Code) | | Returns an error object (a plain JavaScript object) with two properties that the developer can query for:
code Ð an integer error code, 0 for no error.
description Ð a text description of the error that occurred.
|
getError | public T getError(Class<T> returnType)(Code) | | Returns an error object (a plain JavaScript object) with two properties that the developer can query for:
code Ð an integer error code, 0 for no error.
description Ð a text description of the error that occurred.
Parameters: returnType - The expected return type |
reset | public void reset()(Code) | | |
setParams | public void setParams(jsx3.lang.Object objParams)(Code) | | Parameters: objParams - JavaScript object array of name/value pairs. If this parameter isnot empty, the transformation will use a paramaterized stylesheet to perform the transformation. |
transform | public void transform(jsx3.xml.Node objXML, boolean bObject, org.directwebremoting.proxy.Callback<String> callback)(Code) | | Performs an XSLT merge. If an error occurs while performing the transform, this method sets the error
property of this processor and returns null.
Parameters: objXML - Parameters: bObject - Parameters: callback - the result of the transformation |
transformToObject | public jsx3.xml.CdfDocument transformToObject(jsx3.xml.Node objXML)(Code) | | Performs an XSLT merge. If an error occurs while performing the transform, this method sets the error
property of this processor and returns null.
Parameters: objXML - if a valid result tree is formed as a result of the transformation |
transformToObject | public T transformToObject(jsx3.xml.Node objXML, Class<T> returnType)(Code) | | Performs an XSLT merge. If an error occurs while performing the transform, this method sets the error
property of this processor and returns null.
Parameters: objXML - Parameters: returnType - The expected return type if a valid result tree is formed as a result of the transformation |
Methods inherited from jsx3.lang.Object | public void ignoreReturn()(Code)(Java Doc)
|
|
|