com.caucho.xsl
Class JavaStylesheet

java.lang.Object
  extended by com.caucho.xsl.AbstractStylesheet
      extended by com.caucho.xsl.StylesheetImpl
          extended by com.caucho.xsl.JavaStylesheet
All Implemented Interfaces:
CauchoStylesheet, javax.xml.transform.Templates

public class JavaStylesheet
extends StylesheetImpl

Implementation class for JavaScript stylesheets. It is made public only because generated Java classes need to access these routines.


Field Summary
protected  NamespaceContext[] _namespaces
           
protected  XslNumberFormat[] _xsl_formats
           
protected  Sort[][] _xsl_sorts
           
protected  Expr[] exprs
           
protected  Pattern[] patterns
           
 
Fields inherited from class com.caucho.xsl.StylesheetImpl
_defaultDisableEscaping, templates, text
 
Fields inherited from class com.caucho.xsl.AbstractStylesheet
_errorPage, _output, _stylesheet, _uriResolver
 
Fields inherited from interface com.caucho.xsl.CauchoStylesheet
CACHE_DEPENDS, DEPENDS, GLOBAL_PARAM
 
Constructor Summary
JavaStylesheet()
           
 
Method Summary
protected  int getTemplateId(java.util.HashMap templates, org.w3c.dom.Node node, Env env, int min, int max)
           
 
Methods inherited from class com.caucho.xsl.StylesheetImpl
_xsl_init, addFunction, anyNumber, applyNode, applyNode, applyNodeDefault, copy, exprNumber, getGenerateLocation, getNodeValue, getOutputFormat, getProperty, getTemplate, init, mergeTemplates, multiNumber, ownerDocument, printValue, setGenerateLocation, setOutputFormat, setProperty, setSpaces, singleNumber, transform, xslSort
 
Methods inherited from class com.caucho.xsl.AbstractStylesheet
addCacheDepend, addDepend, clone, getCacheDepends, getDepends, getOutputProperties, getPath, getURIResolver, isModified, newTransformer, setURIResolver
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

patterns

protected Pattern[] patterns

exprs

protected Expr[] exprs

_xsl_sorts

protected Sort[][] _xsl_sorts

_namespaces

protected NamespaceContext[] _namespaces

_xsl_formats

protected XslNumberFormat[] _xsl_formats
Constructor Detail

JavaStylesheet

public JavaStylesheet()
Method Detail

getTemplateId

protected int getTemplateId(java.util.HashMap templates,
                            org.w3c.dom.Node node,
                            Env env,
                            int min,
                            int max)
                     throws XPathException
Throws:
XPathException