Java Doc for XSLTProcessor.java in  » Testing » htmlunit » com » gargoylesoftware » htmlunit » javascript » host » 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 » Testing » htmlunit » com.gargoylesoftware.htmlunit.javascript.host 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
   com.gargoylesoftware.htmlunit.javascript.host.XSLTProcessor

XSLTProcessor
public class XSLTProcessor extends SimpleScriptable (Code)
A JavaScript object for XSLTProcessor.
version:
   $Revision: 2156 $
author:
   Ahmed Ashour




Method Summary
public  voidjsConstructor()
     Javascript constructor.
public  voidjsxFunction_addParameter(String baseName, Object parameter, Object namespaceURI)
     Adds parameters into an XSL Transformations (XSLT) style sheet.
public  ObjectjsxFunction_getParameter(String namespaceURI, String localName)
     Gets a parameter if previously set by setParameter.
public  voidjsxFunction_importStylesheet(com.gargoylesoftware.htmlunit.javascript.host.Node style)
     Import the stylesheet into this XSLTProcessor for transformations.
Parameters:
  style - The root-node of a XSLT stylesheet.
public  voidjsxFunction_setParameter(String namespaceURI, String localName, Object value)
     Sets a parameter to be used in subsequent transformations with this nsIXSLTProcessor.
public  voidjsxFunction_transform()
     Starts the transformation process or resumes a previously failed transformation.
public  XMLDocumentjsxFunction_transformToDocument(com.gargoylesoftware.htmlunit.javascript.host.Node source)
     Transforms the node source applying the stylesheet given by the importStylesheet() function. The owner document of the output node owns the returned document fragment.
Parameters:
  source - The node to be transformed.
public  DocumentFragmentjsxFunction_transformToFragment(com.gargoylesoftware.htmlunit.javascript.host.Node source, Object output)
     Transforms the node source applying the stylesheet given by the importStylesheet() function. The owner document of the output node owns the returned document fragment.
Parameters:
  source - The node to be transformed.
Parameters:
  output - This document is used to generate the output.
public  com.gargoylesoftware.htmlunit.javascript.host.NodejsxGet_input()
     Returns which XML input tree to transform.
public  ObjectjsxGet_output()
     Gets a custom output to write the result of the transformation.
public  voidjsxSet_input(com.gargoylesoftware.htmlunit.javascript.host.Node input)
     Specifies which XML input tree to transform.
public  voidjsxSet_output(Object output)
     Sets the object to which to write the output of the transformation.



Method Detail
jsConstructor
public void jsConstructor()(Code)
Javascript constructor.



jsxFunction_addParameter
public void jsxFunction_addParameter(String baseName, Object parameter, Object namespaceURI)(Code)
Adds parameters into an XSL Transformations (XSLT) style sheet.
Parameters:
  baseName - The name that will be used inside the style sheet to identify the parameter context.
Parameters:
  parameter - The parameter value.To remove a parameter previously added to the processor, provide a value of Empty or Null instead.
Parameters:
  namespaceURI - An optional namespace.



jsxFunction_getParameter
public Object jsxFunction_getParameter(String namespaceURI, String localName)(Code)
Gets a parameter if previously set by setParameter. Returns null otherwise.
Parameters:
  namespaceURI - The namespaceURI of the XSLT parameter.
Parameters:
  localName - The local name of the XSLT parameter. The value of the XSLT parameter.



jsxFunction_importStylesheet
public void jsxFunction_importStylesheet(com.gargoylesoftware.htmlunit.javascript.host.Node style)(Code)
Import the stylesheet into this XSLTProcessor for transformations.
Parameters:
  style - The root-node of a XSLT stylesheet. This can be either a document node or an element node.If a document node then the document can contain either a XSLT stylesheet or a LRE stylesheet.If the argument is an element node it must be the xsl:stylesheet (or xsl:transform) elementof an XSLT stylesheet.



jsxFunction_setParameter
public void jsxFunction_setParameter(String namespaceURI, String localName, Object value)(Code)
Sets a parameter to be used in subsequent transformations with this nsIXSLTProcessor. If the parameter doesn't exist in the stylesheet the parameter will be ignored.
Parameters:
  namespaceURI - The namespaceURI of the XSLT parameter.
Parameters:
  localName - The local name of the XSLT parameter.
Parameters:
  value - The new value of the XSLT parameter.



jsxFunction_transform
public void jsxFunction_transform()(Code)
Starts the transformation process or resumes a previously failed transformation.



jsxFunction_transformToDocument
public XMLDocument jsxFunction_transformToDocument(com.gargoylesoftware.htmlunit.javascript.host.Node source)(Code)
Transforms the node source applying the stylesheet given by the importStylesheet() function. The owner document of the output node owns the returned document fragment.
Parameters:
  source - The node to be transformed. The result of the transformation.



jsxFunction_transformToFragment
public DocumentFragment jsxFunction_transformToFragment(com.gargoylesoftware.htmlunit.javascript.host.Node source, Object output)(Code)
Transforms the node source applying the stylesheet given by the importStylesheet() function. The owner document of the output node owns the returned document fragment.
Parameters:
  source - The node to be transformed.
Parameters:
  output - This document is used to generate the output. The result of the transformation.



jsxGet_input
public com.gargoylesoftware.htmlunit.javascript.host.Node jsxGet_input()(Code)
Returns which XML input tree to transform. which XML input tree to transform.



jsxGet_output
public Object jsxGet_output()(Code)
Gets a custom output to write the result of the transformation. the output of the transformation.



jsxSet_input
public void jsxSet_input(com.gargoylesoftware.htmlunit.javascript.host.Node input)(Code)
Specifies which XML input tree to transform.
Parameters:
  input - the input tree.



jsxSet_output
public void jsxSet_output(Object output)(Code)
Sets the object to which to write the output of the transformation.
Parameters:
  output - The object to which to write the output of the transformation.



Methods inherited from com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
public Object get(String name, Scriptable start)(Code)(Java Doc)
public static boolean getBooleanArg(int index, Object[] args, boolean defaultValue)(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public Object getDefaultValue(Class hint)(Code)(Java Doc)
final public DomNode getDomNodeOrDie() throws IllegalStateException(Code)(Java Doc)
final public DomNode getDomNodeOrNull()(Code)(Java Doc)
public static int getIntArg(int index, Object[] args, int defaultValue)(Code)(Java Doc)
final protected Log getLog()(Code)(Java Doc)
public static Object getObjectArg(int index, Object[] args, Object defaultValue)(Code)(Java Doc)
protected Scriptable getPrototype(Class javaScriptClass)(Code)(Java Doc)
protected SimpleScriptable getScriptableFor(Object object)(Code)(Java Doc)
protected Scriptable getStartingScope()(Code)(Java Doc)
public static String getStringArg(int index, Object[] args, String defaultValue)(Code)(Java Doc)
protected Transformer getTransformerScriptableFor()(Code)(Java Doc)
protected Window getWindow() throws RuntimeException(Code)(Java Doc)
protected static Window getWindow(Scriptable s) throws RuntimeException(Code)(Java Doc)
protected Object getWithPreemption(String name)(Code)(Java Doc)
public SimpleScriptable makeScriptableFor(DomNode domNode)(Code)(Java Doc)
public void setDomNode(DomNode domNode)(Code)(Java Doc)
protected void setDomNode(DomNode domNode, boolean assignScriptObject)(Code)(Java Doc)
public void setHtmlElement(HtmlElement htmlElement)(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.