resin

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 
License:
URL:
Description:
Package NameComment
com.caucho
com.caucho.amber
com.caucho.amber.cfg
com.caucho.amber.collection
com.caucho.amber.ejb3
com.caucho.amber.entity
com.caucho.amber.expr
com.caucho.amber.expr.fun
com.caucho.amber.field
com.caucho.amber.filters
com.caucho.amber.gen
com.caucho.amber.idgen
com.caucho.amber.jdbc
com.caucho.amber.manager
com.caucho.amber.query
com.caucho.amber.session
com.caucho.amber.table
com.caucho.amber.type
com.caucho.boot
com.caucho.burlap
com.caucho.bytecode
com.caucho.config
com.caucho.config.attribute
com.caucho.config.core
com.caucho.config.functions
com.caucho.config.j2ee
com.caucho.config.lib
com.caucho.config.program
com.caucho.config.type
com.caucho.config.types
com.caucho.db
com.caucho.db.debug
com.caucho.db.fun
com.caucho.db.index
com.caucho.db.jca
com.caucho.db.jdbc
com.caucho.db.sql
com.caucho.db.store
com.caucho.db.table
com.caucho.ejb
com.caucho.ejb.amber
com.caucho.ejb.burlap
com.caucho.ejb.cfg
com.caucho.ejb.cfg21
com.caucho.ejb.entity
com.caucho.ejb.gen
com.caucho.ejb.gen21
com.caucho.ejb.hessian
com.caucho.ejb.interceptor
com.caucho.ejb.manager
com.caucho.ejb.message
com.caucho.ejb.metadata
com.caucho.ejb.protocol
com.caucho.ejb.ql
com.caucho.ejb.session
com.caucho.ejb.timer
com.caucho.ejb.util
com.caucho.ejb.xa
com.caucho.ejb3.gen
com.caucho.ejb3.xa
com.caucho.el
com.caucho.filters
com.caucho.hessian
com.caucho.hessian.client
com.caucho.http.log
com.caucho.http.security
com.caucho.i18n
com.caucho.iiop
com.caucho.iiop.any
com.caucho.iiop.client
com.caucho.iiop.marshal
com.caucho.iiop.orb
com.caucho.j2ee
com.caucho.j2ee.appclient
com.caucho.j2ee.cfg
com.caucho.j2ee.deployclient
com.caucho.j2ee.deployserver
com.caucho.j2ee.deploytool
com.caucho.java Java compilation and auto-compile classloader
com.caucho.java.enhancer
com.caucho.java.gen
com.caucho.jca
com.caucho.jca.cfg
com.caucho.jca.program
com.caucho.jdbc
com.caucho.jms
com.caucho.jms.cfg
com.caucho.jms.connection
com.caucho.jms.file
com.caucho.jms.jca
com.caucho.jms.jdbc
com.caucho.jms.memory
com.caucho.jms.message
com.caucho.jms.queue
com.caucho.jms.resource
com.caucho.jms.selector
com.caucho.jms.services
com.caucho.jms.util
com.caucho.jms2
com.caucho.jmx
com.caucho.jmx.remote
com.caucho.jmx.stats
com.caucho.jsf.application
com.caucho.jsf.cfg
com.caucho.jsf.context
com.caucho.jsf.el
com.caucho.jsf.event
com.caucho.jsf.html
com.caucho.jsf.lifecycle
com.caucho.jsf.render
com.caucho.jsf.taglib
com.caucho.jsf.webapp
com.caucho.jslib
com.caucho.jsp
com.caucho.jsp.cfg
com.caucho.jsp.el
com.caucho.jsp.java
com.caucho.jsp.jsf
com.caucho.jstl
com.caucho.jstl.el
com.caucho.jstl.rt
com.caucho.jws
com.caucho.license
com.caucho.lifecycle
com.caucho.loader
com.caucho.loader.enhancer
com.caucho.log
com.caucho.mail.smtp
com.caucho.make
com.caucho.management.j2ee
com.caucho.management.server
com.caucho.naming
com.caucho.naming.burlap
com.caucho.naming.hessian
com.caucho.naming.java
com.caucho.naming.mbean
com.caucho.portal
com.caucho.portal.alpharenderer
com.caucho.portal.generic
com.caucho.portal.generic.context
com.caucho.portal.generic.taglib
com.caucho.protocols.flash
com.caucho.quercus
com.caucho.quercus.env
com.caucho.quercus.lib
com.caucho.quercus.lib.dom
com.caucho.quercus.lib.pdf
com.caucho.quercus.lib.resin
com.caucho.quercus.module
com.caucho.quercus.program
com.caucho.quercus.servlet
com.caucho.relaxng
com.caucho.relaxng.pattern
com.caucho.relaxng.program
com.caucho.remote
com.caucho.remote.burlap
com.caucho.remote.client
com.caucho.remote.hessian
com.caucho.remote.server
com.caucho.resin
com.caucho.resin.deploy
com.caucho.resources
com.caucho.resources.rmi
com.caucho.security
com.caucho.server.admin
com.caucho.server.cache
com.caucho.server.cluster
com.caucho.server.connection
com.caucho.server.deploy
com.caucho.server.dispatch
com.caucho.server.e_app
com.caucho.server.hmux
com.caucho.server.host
com.caucho.server.http
com.caucho.server.log
com.caucho.server.port
com.caucho.server.resin
com.caucho.server.rewrite
com.caucho.server.security
com.caucho.server.session
com.caucho.server.snmp
com.caucho.server.snmp.types
com.caucho.server.thread
com.caucho.server.util
com.caucho.server.webapp
com.caucho.server.webbeans
com.caucho.servlet.comet
com.caucho.servlets
com.caucho.servlets.ssi
com.caucho.servlets.webdav
com.caucho.sql
com.caucho.sql.spy
com.caucho.tools.profiler
com.caucho.transaction
com.caucho.transaction.xalog
com.caucho.util Assorted utilities
com.caucho.vfs
com.caucho.vfs.memory
com.caucho.webbeans
com.caucho.webbeans.bytecode
com.caucho.webbeans.cfg
com.caucho.webbeans.component
com.caucho.webbeans.context
com.caucho.webbeans.el
com.caucho.webbeans.event
com.caucho.webbeans.manager
com.caucho.xml XML parsing and printing package.

Parsing

Applications using strict XML parsing will either use the JAXP API or the SAX API to create their parsers. Applications needing to parse HTML will generally instantiate their own parsers.

There are four parser flavors with the same API: Xml, LooseXml, Html and LooseHtml. The core of the API is in AbstractParser.

  • Xml is a strict XML parser.
  • LooseXml is a forgiving XML parser.
  • Html is a strict HTML parser.
  • LooseHtml is a forgiving HTML parser.

    You can parse XML into a DOM tree or you can use the SAX callback API. The core of the API is documented in AbstractParser.

    DOM parsing looks like:

    Document doc = new Html().parseDocument("test.html");
    

    Parsing directly from a string looks like:

    String str = "<em>test html doc</em>";
    Document doc = new Html().parseDocumentString(str);
    

    SAX parsing looks like:

    Html html = new Html();
    html.setContentHandler(myContentHandler);
    html.parse("test.html");
    
com.caucho.xml.parsers JAXP factories for XML parsing
com.caucho.xml.readers
com.caucho.xml.saaj
com.caucho.xml.stream
com.caucho.xml.stream.events
com.caucho.xml.xschema
com.caucho.xml2
com.caucho.xml2.jaxp
com.caucho.xml2.parsers
com.caucho.xml2.readers
com.caucho.xpath Finding and selecting XML nodes using XSL patterns. The Xql package implements the pattern matching of the July 1999, W3C XSLT draft. It provides a simple API to find XML nodes.

To find the first table with an image at any depth beneath the source node:

Node found = Xql.find(".//table[.//img]", node);

Or to select all tables in all sections below the current node:

Iterator iter = Xql.select("section/table", node);

Patterns can also be compiled.

com.caucho.xpath.expr
com.caucho.xpath.functions
com.caucho.xpath.pattern
com.caucho.xsl The XSLT transformation package. XSLT transforms XML trees to XML trees using Stylesheets. The steps for a typical transformation are:
  1. Create the XSLT stylesheet.
  2. Read the source document.
  3. Transform the source document.

The Caucho XSL package supports two related stylesheet languages. XSLT (W3C 1.0) and 'StyleScript'. Strict XSLT stylesheets are created by parsing the XML externally, then generating the stylesheet:

StylesheetFactory factory = new Xsl();
Stylesheet style = factory.newStylesheet("mystyle.xsl");

StreamTransformer transformer = style.newStreamTransformer();

WriteStream os = Vfs.openWrite("test.html");
transformer.transform("test.xml", os);
os.close();

StyleScript stylesheets just use a different stylesheet factory.

StylesheetFactory factory = new StyleScript();
Stylesheet style = factory.newStylesheet("mystyle.xsl");

StreamTransformer transformer = style.newStreamTransformer();

WriteStream os = Vfs.openWrite("test.html");
transformer.transform("test.xml", os);
os.close();

Transformers

Resin's XSL provides several different output methods, each represented by a transformer:
  • StreamTransformer - print directly to an output stream
  • StringTransformer - create a string from the result
  • NodeTransformer - append the results to an XML node
com.caucho.xsl.fun
com.caucho.xsl.java
org.springframework.instrument.classloading
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.