Java Doc for StylesheetImpl.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » xsl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.xsl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.xsl.AbstractStylesheet
      com.caucho.xsl.StylesheetImpl

All known Subclasses:   com.caucho.xsl.JavaStylesheet,  com.caucho.xsl.IdentityStylesheet,
StylesheetImpl
public class StylesheetImpl extends AbstractStylesheet (Code)
Implementation base class for stylesheets. It is made public only because generated Java and JavaScript classes need to access these routines.


Field Summary
protected  boolean_defaultDisableEscaping
    
 HashMap<String, XPathFun>_funs
    
 boolean_generateLocation
    
 PathcachePath
    
 booleanisCacheable
    
 longlastModified
    
 LineMaplineMap
    
final static  Loggerlog
    
protected  HashMaptemplates
    
public  char[]text
    


Method Summary
protected  void_xsl_init(XslWriter out, Node context, Env env)
    
protected  voidaddFunction(String name, XPathFun fun)
    
public  voidanyNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format)
    
public  voidapplyNode(XslWriter out, Node node, Env env)
    
protected  voidapplyNode(XslWriter out, Node node, Env env, int min, int max)
    
protected  voidapplyNodeDefault(XslWriter out, Node node, Env env)
     The default rule when no templates match.
protected  voidcopy(AbstractStylesheet stylesheet)
    
public  voidexprNumber(XslWriter out, Node node, Env env, Expr expr, XslNumberFormat format)
    
public  booleangetGenerateLocation()
    
public  StringgetNodeValue(Node node)
    
public  OutputFormatgetOutputFormat()
    
public  ObjectgetProperty(String name)
    
protected  TemplategetTemplate(HashMap templates, Node node, Env env, int min, int max)
     Gets a template.
public  voidinit(Path path)
    
 booleanisStripSpaces(Node node)
     Returns true if the node is a pure whitespace text node.
protected static  Template[]mergeTemplates(Template[] star, Template[] templates)
     Merges two template arrays into the final one.
public  voidmultiNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format)
    
protected  DocumentownerDocument(Node node)
    
public  voidprintValue(XslWriter out, Node node)
    
public  voidsetGenerateLocation(boolean generateLocation)
    
public  voidsetOutputFormat(OutputFormat output)
    
public  voidsetProperty(String name, Object value)
    
protected  voidsetSpaces(HashMap<String, String> preserve, HashMap<String, String> preservePrefix, HashMap<String, String> strip, HashMap<String, String> stripPrefix)
    
public  voidsingleNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format)
    
 voidstripSpaces(Node node)
     Strips the spaces from a tree.
public  voidtransform(Node xml, XMLWriter writer, TransformerImpl transformer)
    
protected  ArrayListxslSort(Node node, Env env, AbstractPattern pattern, Sort[] sortList)
    

Field Detail
_defaultDisableEscaping
protected boolean _defaultDisableEscaping(Code)



_funs
HashMap<String, XPathFun> _funs(Code)



_generateLocation
boolean _generateLocation(Code)



cachePath
Path cachePath(Code)



isCacheable
boolean isCacheable(Code)



lastModified
long lastModified(Code)



lineMap
LineMap lineMap(Code)



log
final static Logger log(Code)



templates
protected HashMap templates(Code)



text
public char[] text(Code)





Method Detail
_xsl_init
protected void _xsl_init(XslWriter out, Node context, Env env) throws Exception(Code)



addFunction
protected void addFunction(String name, XPathFun fun)(Code)



anyNumber
public void anyNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format) throws Exception(Code)



applyNode
public void applyNode(XslWriter out, Node node, Env env) throws Exception(Code)



applyNode
protected void applyNode(XslWriter out, Node node, Env env, int min, int max) throws Exception(Code)



applyNodeDefault
protected void applyNodeDefault(XslWriter out, Node node, Env env) throws Exception(Code)
The default rule when no templates match. By default, it calls apply-template on element children and copies text. All other nodes are stripped.
Parameters:
  out - the current writer.
Parameters:
  node - the current node.
Parameters:
  env - the xpath environment.



copy
protected void copy(AbstractStylesheet stylesheet)(Code)



exprNumber
public void exprNumber(XslWriter out, Node node, Env env, Expr expr, XslNumberFormat format) throws Exception(Code)



getGenerateLocation
public boolean getGenerateLocation()(Code)



getNodeValue
public String getNodeValue(Node node)(Code)



getOutputFormat
public OutputFormat getOutputFormat()(Code)



getProperty
public Object getProperty(String name)(Code)



getTemplate
protected Template getTemplate(HashMap templates, Node node, Env env, int min, int max) throws XPathException(Code)
Gets a template. Only those templates with importance between min and max are considered. For apply-templates, min = 0, and max = Infinity,
Parameters:
  min - minimum allowed importance
Parameters:
  max - maximum allowed importance



init
public void init(Path path) throws Exception(Code)



isStripSpaces
boolean isStripSpaces(Node node)(Code)
Returns true if the node is a pure whitespace text node.



mergeTemplates
protected static Template[] mergeTemplates(Template[] star, Template[] templates)(Code)
Merges two template arrays into the final one.



multiNumber
public void multiNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format) throws Exception(Code)



ownerDocument
protected Document ownerDocument(Node node)(Code)



printValue
public void printValue(XslWriter out, Node node) throws IOException(Code)



setGenerateLocation
public void setGenerateLocation(boolean generateLocation)(Code)



setOutputFormat
public void setOutputFormat(OutputFormat output)(Code)



setProperty
public void setProperty(String name, Object value)(Code)



setSpaces
protected void setSpaces(HashMap<String, String> preserve, HashMap<String, String> preservePrefix, HashMap<String, String> strip, HashMap<String, String> stripPrefix)(Code)



singleNumber
public void singleNumber(XslWriter out, Node node, Env env, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format) throws Exception(Code)



stripSpaces
void stripSpaces(Node node)(Code)
Strips the spaces from a tree.



transform
public void transform(Node xml, XMLWriter writer, TransformerImpl transformer) throws SAXException, IOException, TransformerException(Code)
Transforms the input node to the output writer
Parameters:
  xml - the input node to be transformed
Parameters:
  writer - output writer receiving the output
Parameters:
  transformer - the transformer to be used



xslSort
protected ArrayList xslSort(Node node, Env env, AbstractPattern pattern, Sort[] sortList) throws Exception(Code)



Fields inherited from com.caucho.xsl.AbstractStylesheet
protected String _errorPage(Code)(Java Doc)
boolean _escapeEntities(Code)(Java Doc)
protected Properties _output(Code)(Java Doc)
protected AbstractStylesheet _stylesheet(Code)(Java Doc)
protected URIResolver _uriResolver(Code)(Java Doc)

Methods inherited from com.caucho.xsl.AbstractStylesheet
protected void addCacheDepend(String path)(Code)(Java Doc)
protected void addDepend(PersistentDependency depend)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected void copy(AbstractStylesheet stylesheet)(Code)(Java Doc)
public ArrayList<String> getCacheDepends()(Code)(Java Doc)
public ArrayList<PersistentDependency> getDepends()(Code)(Java Doc)
public Properties getOutputProperties()(Code)(Java Doc)
public Path getPath()(Code)(Java Doc)
public Object getProperty(String name)(Code)(Java Doc)
public URIResolver getURIResolver()(Code)(Java Doc)
public void init(Path path) throws Exception(Code)(Java Doc)
public boolean isModified()(Code)(Java Doc)
public javax.xml.transform.Transformer newTransformer()(Code)(Java Doc)
public void setProperty(String name, Object value)(Code)(Java Doc)
public void setURIResolver(URIResolver resolver)(Code)(Java Doc)
abstract public void transform(Node xml, XMLWriter out, TransformerImpl transformer) throws Exception(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.