Java Doc for TransformerImpl.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
   javax.xml.transform.Transformer
      com.caucho.xsl.TransformerImpl

All known Subclasses:   com.caucho.xsl.NodeTransformerImpl,  com.caucho.xsl.StreamTransformerImpl,  com.caucho.xsl.StringTransformerImpl,
TransformerImpl
public class TransformerImpl extends javax.xml.transform.Transformer (Code)


Field Summary
final public static  StringCACHE_DEPENDS
    
final public static  StringGENERATE_LOCATION
    
protected static  L10NL
    
final public static  StringLINE_MAP
    
protected  ArrayList<Path>_cacheDepends
    
protected  LineMap_lineMap
    
protected  HashMap<String, Object>_parameters
    
protected  HashMap<String, Object>_properties
    
protected  StylesheetImpl_stylesheet
    

Constructor Summary
protected  TransformerImpl(StylesheetImpl stylesheet)
    

Method Summary
public  voidaddCacheDepend(Path path)
    
protected  voidaddCacheDepend(String path)
    
public  voidaddFunction(String name, XPathFun fun)
     Adds a new custom function.
public  voidclearParameters()
     Clears all the external stylesheet parameters.
public  ArrayList<Path>getCacheDepends()
    
public  ErrorListenergetErrorListener()
     Returns the error listener.
public  booleangetFeature(String name)
    
public  PropertiesgetOutputProperties()
     Returns a copy of the xsl:output properties.
public  StringgetOutputProperty(String name)
     Returns the value of a single named xsl:output property.
public  ObjectgetParameter(String name)
     Returns the named stylesheet parameter.
public  ObjectgetProperty(String name)
    
public  StylesheetImplgetStylesheet()
    
public  URIResolvergetURIResolver()
     Returns the URI to filename resolver.
protected  NodeparseDocument(Source source)
     Parses the source XML document from the source.
Parameters:
  source - the JAXP source.
protected  NodeparseDocument(InputStream is, String systemId)
     Parses the source XML document from the input stream.
protected  NodeparseDocument(String url)
     Parses the source document specified by a URL
Parameters:
  url - path to the document to be parsed.
protected  NodeparseStringDocument(String source, String systemId)
     Parses a string as an XML document.
Parameters:
  source - the string to use as the XML source
Parameters:
  systemId - the URL for the string document.
public  voidsetErrorListener(ErrorListener errorListener)
     Sets the error listener.
public  voidsetFeature(String name, boolean enable)
    
public  voidsetOutputProperties(Properties properties)
     Sets the output properties.
public  voidsetOutputProperty(String name, String value)
     Sets a single xsl:output property.
public  voidsetParameter(String name, Object value)
     Sets a parameter that XPath expressions in the stylesheet can use as $name.
public  voidsetProperty(String name, Object value)
    
public  voidsetURIResolver(URIResolver uriResolver)
     Sets the URI to filename resolver.
public  voidtransform(Source source, Result result)
     Transforms the source into the result.
public  voidtransform(Node node, OutputStream os)
    
public  voidtransform(Node node, OutputStream os, String encoding, String systemId)
     Transforms from a DOM node to an output stream.
public  Nodetransform(Node sourceNode, Node destNode)
     Transforms from the source node to the destination node, returning the destination node.
public  voidtransform(Node sourceNode, ContentHandler contentHandler, LexicalHandler lexicalHandler)
     Transforms from the source node to the sax handlers.

Field Detail
CACHE_DEPENDS
final public static String CACHE_DEPENDS(Code)



GENERATE_LOCATION
final public static String GENERATE_LOCATION(Code)



L
protected static L10N L(Code)



LINE_MAP
final public static String LINE_MAP(Code)



_cacheDepends
protected ArrayList<Path> _cacheDepends(Code)



_lineMap
protected LineMap _lineMap(Code)



_parameters
protected HashMap<String, Object> _parameters(Code)



_properties
protected HashMap<String, Object> _properties(Code)



_stylesheet
protected StylesheetImpl _stylesheet(Code)




Constructor Detail
TransformerImpl
protected TransformerImpl(StylesheetImpl stylesheet)(Code)




Method Detail
addCacheDepend
public void addCacheDepend(Path path)(Code)



addCacheDepend
protected void addCacheDepend(String path)(Code)



addFunction
public void addFunction(String name, XPathFun fun)(Code)
Adds a new custom function.
Parameters:
  name - the name of the function.
Parameters:
  fun - the new function.



clearParameters
public void clearParameters()(Code)
Clears all the external stylesheet parameters.



getCacheDepends
public ArrayList<Path> getCacheDepends()(Code)



getErrorListener
public ErrorListener getErrorListener()(Code)
Returns the error listener.



getFeature
public boolean getFeature(String name)(Code)



getOutputProperties
public Properties getOutputProperties()(Code)
Returns a copy of the xsl:output properties. a copy of the properties.



getOutputProperty
public String getOutputProperty(String name)(Code)
Returns the value of a single named xsl:output property.
Parameters:
  name - the name of the property.



getParameter
public Object getParameter(String name)(Code)
Returns the named stylesheet parameter.
Parameters:
  name - the name of the parameter.



getProperty
public Object getProperty(String name)(Code)



getStylesheet
public StylesheetImpl getStylesheet()(Code)



getURIResolver
public URIResolver getURIResolver()(Code)
Returns the URI to filename resolver.



parseDocument
protected Node parseDocument(Source source) throws IOException, SAXException, TransformerException(Code)
Parses the source XML document from the source.
Parameters:
  source - the JAXP source. the parsed document.



parseDocument
protected Node parseDocument(InputStream is, String systemId) throws IOException, SAXException(Code)
Parses the source XML document from the input stream.
Parameters:
  is - the source input stream.
Parameters:
  systemId - the path of the source document DOM node for the parsed XML.



parseDocument
protected Node parseDocument(String url) throws IOException, SAXException(Code)
Parses the source document specified by a URL
Parameters:
  url - path to the document to be parsed. the parsed document.



parseStringDocument
protected Node parseStringDocument(String source, String systemId) throws IOException, SAXException(Code)
Parses a string as an XML document.
Parameters:
  source - the string to use as the XML source
Parameters:
  systemId - the URL for the string document. the parsed document.



setErrorListener
public void setErrorListener(ErrorListener errorListener)(Code)
Sets the error listener.



setFeature
public void setFeature(String name, boolean enable)(Code)



setOutputProperties
public void setOutputProperties(Properties properties)(Code)
Sets the output properties.
Parameters:
  properties - the new output properties.



setOutputProperty
public void setOutputProperty(String name, String value)(Code)
Sets a single xsl:output property.
Parameters:
  name - the name of the property.
Parameters:
  value - the value of the property.



setParameter
public void setParameter(String name, Object value)(Code)
Sets a parameter that XPath expressions in the stylesheet can use as $name.
Parameters:
  name - the name of the XPath variable.
Parameters:
  value - the value for the variable.



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



setURIResolver
public void setURIResolver(URIResolver uriResolver)(Code)
Sets the URI to filename resolver.



transform
public void transform(Source source, Result result) throws TransformerException(Code)
Transforms the source into the result.
Parameters:
  source - descriptor specifying the input source.
Parameters:
  result - descriptor specifying the output result.



transform
public void transform(Node node, OutputStream os) throws TransformerException(Code)



transform
public void transform(Node node, OutputStream os, String encoding, String systemId) throws TransformerException(Code)
Transforms from a DOM node to an output stream.
Parameters:
  node - the source node
Parameters:
  os - the destination stream



transform
public Node transform(Node sourceNode, Node destNode) throws SAXException, IOException(Code)
Transforms from the source node to the destination node, returning the destination node.



transform
public void transform(Node sourceNode, ContentHandler contentHandler, LexicalHandler lexicalHandler) throws SAXException, IOException, TransformerException(Code)
Transforms from the source node to the sax handlers.



Methods inherited from javax.xml.transform.Transformer
abstract public void clearParameters()(Code)(Java Doc)
abstract public ErrorListener getErrorListener()(Code)(Java Doc)
abstract public Properties getOutputProperties()(Code)(Java Doc)
abstract public String getOutputProperty(String name) throws IllegalArgumentException(Code)(Java Doc)
abstract public Object getParameter(String name)(Code)(Java Doc)
abstract public URIResolver getURIResolver()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
abstract public void setErrorListener(ErrorListener listener) throws IllegalArgumentException(Code)(Java Doc)
abstract public void setOutputProperties(Properties oformat)(Code)(Java Doc)
abstract public void setOutputProperty(String name, String value) throws IllegalArgumentException(Code)(Java Doc)
abstract public void setParameter(String name, Object value)(Code)(Java Doc)
abstract public void setURIResolver(URIResolver resolver)(Code)(Java Doc)
abstract public void transform(Source xmlSource, Result outputTarget) throws TransformerException(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.