Java Doc for SQLTransformer.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » transformation » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.transformation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.transformation.AbstractTransformer
   org.apache.cocoon.transformation.AbstractSAXTransformer
      org.apache.cocoon.transformation.SQLTransformer

SQLTransformer
public class SQLTransformer extends AbstractSAXTransformer (Code)
The SQLTransformer can be plugged into a pipeline to transform SAX events into updated or queries and responses to/from a SQL interface.

It is declared and configured as follows:

 <map:transformers default="...">
 <map:transformer name="sql" src="org.apache.cocoon.transformation.SQLTransformer">
 <old-driver>false</old-driver>
 <connection-attempts>5</connection-attempts>
 <connection-waittime>5000</connection-waittime>
 </map:transformer>
 </map:transformers>
 

It can be used in the sitemap pipeline as follows: <map:transform type="sql"> <map:parameter name="own-connection" value="..."/> <map:parameter name="use-connection" value="..."/> <map:parameter name="dburl" value="..."/> <map:parameter name="username" value="..."/> <map:parameter name="password" value="..."/> <map:parameter name="show-nr-or-rows" value="false"/> <map:parameter name="doc-element" value="rowset"/> <map:parameter name="row-element" value="row"/> <map:parameter name="namespace-uri" value="http://apache.org/cocoon/SQL/2.0"/> <map:parameter name="namespace-prefix" value="sql"/> <map:parameter name="clob-encoding" value=""/> </map:transform>

The following DTD is valid: <!ENTITY % param "(own-connection?,(use-connection|(dburl,username,password))?,show-nr-or-rows?,doc-element?,row-element?,namespace-uri?,namespace-prefix?,clob-encoding?)">
<!ELEMENT execute-query (query,(in-parameter|in-xml-parameter|out-parameter)*,execute-query?, %param;)>
<!ELEMENT own-connection (#PCDATA)>
<!ELEMENT use-connection (#PCDATA)>
<!ELEMENT query (#PCDATA | substitute-value | ancestor-value | escape-string| xml)*>
<!ATTLIST query name CDATA #IMPLIED isstoredprocedure (true|false) "false" isupdate (true|false) "false">
<!ELEMENT substitute-value EMPTY>
<!ATTLIST substitute-value name CDATA #REQUIRED>
<!ELEMENT ancestor-value EMPTY>
<!ATTLIST ancestor-value name CDATA #REQUIRED level CDATA #REQUIRED>
<!ELEMENT in-parameter EMPTY>
<!ATTLIST in-parameter nr CDATA #REQUIRED type CDATA #REQUIRED>
<!ELEMENT in-xml-parameter EMPTY>
<!ATTLIST in-xml-parameter nr CDATA #REQUIRED type CDATA #REQUIRED>
<!ELEMENT out-parameter EMPTY>
<!ATTLIST out-parameter nr CDATA #REQUIRED name CDATA #REQUIRED type CDATA #REQUIRED>
<!ELEMENT escape-string (#PCDATA)>
<!ELEMENT xml (#PCDATA)>

Each query can override default transformer parameters. Nested queries do not inherit parent query parameters, but only transformer parameters. Each query can have connection to different database, directly or using the connection pool. If database connection parameters are the same as for any of the ancestor queries, nested query will re-use ancestor query connection.

Connection sharing between queries can be disabled, globally or on per-query basis, using own-connection parameter.

By default, CLOBs are read from the database using getSubString, so that character decoding is performed by the database. Using clob-encoding parameter, this behavior can be overrided, so that data is read as byte stream and decoded using specified character encoding.

Inserting of XML data can be done by using the new sql:xml or SQL:in-xml-parameter tags. - sql:xml must be used like sql:escape-string - sql:in-xml-parameter must be used like sql:in-parameter.


author:
   Carsten Ziegeler
author:
   Donald Ball
author:
   Giacomo Pati
author:
   (PWR Organisation & Entwicklung)
author:
   Sven Beauprez
author:
   Alfio Saglimbeni
author:
   Philipp Hahn
author:
   Vadim Gritsenko
version:
   $Id: SQLTransformer.java 467820 2006-10-26 00:33:41Z vgritsenko $


Field Summary
final public static  StringCLOB_ENCODING
    
final public static  StringMAGIC_ANCESTOR_VALUE
    
final public static  StringMAGIC_ANCESTOR_VALUE_LEVEL_ATTRIBUTE
    
final public static  StringMAGIC_ANCESTOR_VALUE_NAME_ATTRIBUTE
    
final public static  StringMAGIC_COLUMN_CASE
    
final public static  StringMAGIC_CONNECTION
    
final public static  StringMAGIC_DBURL
    
final public static  StringMAGIC_DOC_ELEMENT
    
final public static  StringMAGIC_ERROR
    
final public static  StringMAGIC_ESCAPE_STRING
    
final public static  StringMAGIC_EXECUTE_QUERY
    
final public static  StringMAGIC_IN_PARAMETER
    
final public static  StringMAGIC_IN_PARAMETER_NR_ATTRIBUTE
    
final public static  StringMAGIC_IN_PARAMETER_VALUE_ATTRIBUTE
    
final public static  StringMAGIC_IN_XML_PARAMETER
    
final public static  StringMAGIC_NAME_ATTRIBUTE
    
final public static  StringMAGIC_NR_OF_ROWS
    
final public static  StringMAGIC_NS_PREFIX_ELEMENT
    
final public static  StringMAGIC_NS_URI_ELEMENT
    
final public static  StringMAGIC_OUT_PARAMETER
    
final public static  StringMAGIC_OUT_PARAMETER_NAME_ATTRIBUTE
    
final public static  StringMAGIC_OUT_PARAMETER_NR_ATTRIBUTE
    
final public static  StringMAGIC_OUT_PARAMETER_TYPE_ATTRIBUTE
    
final public static  StringMAGIC_PASSWORD
    
final public static  StringMAGIC_PROP
    
final public static  StringMAGIC_QUERY
    
final public static  StringMAGIC_ROW_ELEMENT
    
final public static  StringMAGIC_STORED_PROCEDURE_ATTRIBUTE
    
final public static  StringMAGIC_SUBSTITUTE_VALUE
    
final public static  StringMAGIC_SUBSTITUTE_VALUE_NAME_ATTRIBUTE
    
final public static  StringMAGIC_UPDATE_ATTRIBUTE
    
final public static  StringMAGIC_USERNAME
    
final public static  StringMAGIC_VALUE
    
final public static  StringMAGIC_XML
    
final public static  StringNAMESPACE
    
final protected static  intSTATE_INSIDE_ANCESTOR_VALUE_ELEMENT
    
final protected static  intSTATE_INSIDE_ESCAPE_STRING
    
final protected static  intSTATE_INSIDE_EXECUTE_QUERY_ELEMENT
    
final protected static  intSTATE_INSIDE_IN_PARAMETER_ELEMENT
    
final protected static  intSTATE_INSIDE_IN_XML_PARAMETER_ELEMENT
    
final protected static  intSTATE_INSIDE_OUT_PARAMETER_ELEMENT
    
final protected static  intSTATE_INSIDE_QUERY_ELEMENT
    
final protected static  intSTATE_INSIDE_SUBSTITUTE_VALUE_ELEMENT
    
final protected static  intSTATE_INSIDE_VALUE_ELEMENT
    
final protected static  intSTATE_INSIDE_XML
    
final protected static  intSTATE_OUTSIDE
    
protected  XMLSerializercompiler
    
protected  Connectionconn
    
protected  StringconnName
    
protected  intconnectAttempts
    
protected  intconnectWaittime
    
protected  ServiceSelectordatasources
    
protected  XMLDeserializerinterpreter
    
protected  booleanoldDriver
    
protected  SAXParserparser
    
protected  Queryquery
    
protected  intstate
    

Constructor Summary
public  SQLTransformer()
    

Method Summary
public  voidconfigure(Configuration conf)
     Configure transformer.
protected  voiddata(String data)
    
public  voiddispose()
    
protected  voidend(String uri, String prefix, String name)
    
protected  voidendAncestorValueElement()
    
protected  voidendEscapeStringElement()
    
protected  voidendExecuteQueryElement()
    
protected  voidendInParameterElement()
    
protected  voidendInXmlParameterElement()
    
protected  voidendOutParameterElement()
    
protected  voidendQueryElement()
    
protected  voidendSubstituteValueElement()
    
public  StringendTextRecording()
     Stop recording of text and return the recorded information. The String, trimmed.NB.
public  voidendTransformingElement(String uri, String name, String raw)
    
protected  voidendValueElement()
    
protected  voidendXmlElement()
    
protected  StringnsQualify(String name, String prefix)
     Qualifies an element name by giving it a prefix.
public  voidrecycle()
    
public  voidservice(ServiceManager manager)
    
public  voidsetup(SourceResolver resolver, Map objectModel, String source, Parameters parameters)
     Setup for the current request.
protected  voidstart(String uri, String prefix, String name, Attributes attr)
    
protected  voidstartAncestorValueElement(Attributes attributes)
    
protected  voidstartEscapeStringElement(Attributes attributes)
    
protected  voidstartExecuteQueryElement()
    
protected  voidstartInParameterElement(Attributes attributes)
    
protected  voidstartInXmlParameterElement(Attributes attributes)
    
protected  voidstartOutParameterElement(Attributes attributes)
    
protected  voidstartQueryElement(Attributes attributes)
    
protected  voidstartSubstituteValueElement(Attributes attributes)
    
public  voidstartTransformingElement(String uri, String name, String raw, Attributes attributes)
    
protected  voidstartValueElement(String name)
    
protected  voidstartXmlElement(Attributes attributes)
    
protected static  voidthrowIllegalStateException(String message)
    

Field Detail
CLOB_ENCODING
final public static String CLOB_ENCODING(Code)



MAGIC_ANCESTOR_VALUE
final public static String MAGIC_ANCESTOR_VALUE(Code)



MAGIC_ANCESTOR_VALUE_LEVEL_ATTRIBUTE
final public static String MAGIC_ANCESTOR_VALUE_LEVEL_ATTRIBUTE(Code)



MAGIC_ANCESTOR_VALUE_NAME_ATTRIBUTE
final public static String MAGIC_ANCESTOR_VALUE_NAME_ATTRIBUTE(Code)



MAGIC_COLUMN_CASE
final public static String MAGIC_COLUMN_CASE(Code)



MAGIC_CONNECTION
final public static String MAGIC_CONNECTION(Code)



MAGIC_DBURL
final public static String MAGIC_DBURL(Code)



MAGIC_DOC_ELEMENT
final public static String MAGIC_DOC_ELEMENT(Code)



MAGIC_ERROR
final public static String MAGIC_ERROR(Code)



MAGIC_ESCAPE_STRING
final public static String MAGIC_ESCAPE_STRING(Code)



MAGIC_EXECUTE_QUERY
final public static String MAGIC_EXECUTE_QUERY(Code)



MAGIC_IN_PARAMETER
final public static String MAGIC_IN_PARAMETER(Code)



MAGIC_IN_PARAMETER_NR_ATTRIBUTE
final public static String MAGIC_IN_PARAMETER_NR_ATTRIBUTE(Code)



MAGIC_IN_PARAMETER_VALUE_ATTRIBUTE
final public static String MAGIC_IN_PARAMETER_VALUE_ATTRIBUTE(Code)



MAGIC_IN_XML_PARAMETER
final public static String MAGIC_IN_XML_PARAMETER(Code)



MAGIC_NAME_ATTRIBUTE
final public static String MAGIC_NAME_ATTRIBUTE(Code)



MAGIC_NR_OF_ROWS
final public static String MAGIC_NR_OF_ROWS(Code)



MAGIC_NS_PREFIX_ELEMENT
final public static String MAGIC_NS_PREFIX_ELEMENT(Code)



MAGIC_NS_URI_ELEMENT
final public static String MAGIC_NS_URI_ELEMENT(Code)



MAGIC_OUT_PARAMETER
final public static String MAGIC_OUT_PARAMETER(Code)



MAGIC_OUT_PARAMETER_NAME_ATTRIBUTE
final public static String MAGIC_OUT_PARAMETER_NAME_ATTRIBUTE(Code)



MAGIC_OUT_PARAMETER_NR_ATTRIBUTE
final public static String MAGIC_OUT_PARAMETER_NR_ATTRIBUTE(Code)



MAGIC_OUT_PARAMETER_TYPE_ATTRIBUTE
final public static String MAGIC_OUT_PARAMETER_TYPE_ATTRIBUTE(Code)



MAGIC_PASSWORD
final public static String MAGIC_PASSWORD(Code)



MAGIC_PROP
final public static String MAGIC_PROP(Code)



MAGIC_QUERY
final public static String MAGIC_QUERY(Code)



MAGIC_ROW_ELEMENT
final public static String MAGIC_ROW_ELEMENT(Code)



MAGIC_STORED_PROCEDURE_ATTRIBUTE
final public static String MAGIC_STORED_PROCEDURE_ATTRIBUTE(Code)



MAGIC_SUBSTITUTE_VALUE
final public static String MAGIC_SUBSTITUTE_VALUE(Code)



MAGIC_SUBSTITUTE_VALUE_NAME_ATTRIBUTE
final public static String MAGIC_SUBSTITUTE_VALUE_NAME_ATTRIBUTE(Code)



MAGIC_UPDATE_ATTRIBUTE
final public static String MAGIC_UPDATE_ATTRIBUTE(Code)



MAGIC_USERNAME
final public static String MAGIC_USERNAME(Code)



MAGIC_VALUE
final public static String MAGIC_VALUE(Code)



MAGIC_XML
final public static String MAGIC_XML(Code)



NAMESPACE
final public static String NAMESPACE(Code)
The SQL transformer namespace



STATE_INSIDE_ANCESTOR_VALUE_ELEMENT
final protected static int STATE_INSIDE_ANCESTOR_VALUE_ELEMENT(Code)



STATE_INSIDE_ESCAPE_STRING
final protected static int STATE_INSIDE_ESCAPE_STRING(Code)



STATE_INSIDE_EXECUTE_QUERY_ELEMENT
final protected static int STATE_INSIDE_EXECUTE_QUERY_ELEMENT(Code)



STATE_INSIDE_IN_PARAMETER_ELEMENT
final protected static int STATE_INSIDE_IN_PARAMETER_ELEMENT(Code)



STATE_INSIDE_IN_XML_PARAMETER_ELEMENT
final protected static int STATE_INSIDE_IN_XML_PARAMETER_ELEMENT(Code)



STATE_INSIDE_OUT_PARAMETER_ELEMENT
final protected static int STATE_INSIDE_OUT_PARAMETER_ELEMENT(Code)



STATE_INSIDE_QUERY_ELEMENT
final protected static int STATE_INSIDE_QUERY_ELEMENT(Code)



STATE_INSIDE_SUBSTITUTE_VALUE_ELEMENT
final protected static int STATE_INSIDE_SUBSTITUTE_VALUE_ELEMENT(Code)



STATE_INSIDE_VALUE_ELEMENT
final protected static int STATE_INSIDE_VALUE_ELEMENT(Code)



STATE_INSIDE_XML
final protected static int STATE_INSIDE_XML(Code)



STATE_OUTSIDE
final protected static int STATE_OUTSIDE(Code)



compiler
protected XMLSerializer compiler(Code)



conn
protected Connection conn(Code)
The connection shared by top level queries (if configuration allows)



connName
protected String connName(Code)
The "name" of the connection shared by top level queries (if configuration allows)



connectAttempts
protected int connectAttempts(Code)
How many connection attempts to do? (default is 5 times)



connectWaittime
protected int connectWaittime(Code)
How long wait between connection attempts? (default is 5000 ms)



datasources
protected ServiceSelector datasources(Code)
The datasource component selector



interpreter
protected XMLDeserializer interpreter(Code)



oldDriver
protected boolean oldDriver(Code)
Is the old-driver turned on? (default is off)



parser
protected SAXParser parser(Code)



query
protected Query query(Code)
The current query we are working on



state
protected int state(Code)
The current state of the event receiving FSM




Constructor Detail
SQLTransformer
public SQLTransformer()(Code)
Constructor




Method Detail
configure
public void configure(Configuration conf) throws ConfigurationException(Code)
Configure transformer. Supported configuration elements:
  • old-driver
  • connect-attempts
  • connect-waittime



data
protected void data(String data) throws SAXException(Code)
Helper method for generating SAX events



dispose
public void dispose()(Code)
Dispose



end
protected void end(String uri, String prefix, String name) throws SAXException(Code)
Helper method for generating SAX events



endAncestorValueElement
protected void endAncestorValueElement()(Code)
</ancestor-value>



endEscapeStringElement
protected void endEscapeStringElement() throws SAXException(Code)
</escape-string>



endExecuteQueryElement
protected void endExecuteQueryElement() throws SAXException(Code)
</execute-query>



endInParameterElement
protected void endInParameterElement()(Code)
</in-parameter>



endInXmlParameterElement
protected void endInXmlParameterElement() throws ProcessingException, SAXException(Code)
</xml>



endOutParameterElement
protected void endOutParameterElement()(Code)
</out-parameter>



endQueryElement
protected void endQueryElement() throws ProcessingException, SAXException(Code)
</query>



endSubstituteValueElement
protected void endSubstituteValueElement()(Code)
</substitute-value>



endTextRecording
public String endTextRecording() throws SAXException(Code)
Stop recording of text and return the recorded information. The String, trimmed.NB. SQLTransformer needs to have a special version of this methodIt needs the TextRecorder to not trim whitespace from the queries it is building



endTransformingElement
public void endTransformingElement(String uri, String name, String raw) throws ProcessingException, IOException, SAXException(Code)
ContentHandler method



endValueElement
protected void endValueElement() throws SAXException(Code)
</*>



endXmlElement
protected void endXmlElement() throws ProcessingException, SAXException(Code)
</xml>



nsQualify
protected String nsQualify(String name, String prefix)(Code)
Qualifies an element name by giving it a prefix.
Parameters:
  name - the element name
Parameters:
  prefix - the prefix to qualify with a namespace qualified name that is correct



recycle
public void recycle()(Code)
Recycle this component



service
public void service(ServiceManager manager) throws ServiceException(Code)
Serviceable



setup
public void setup(SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws ProcessingException, SAXException, IOException(Code)
Setup for the current request.



start
protected void start(String uri, String prefix, String name, Attributes attr) throws SAXException(Code)
Helper method for generating SAX events



startAncestorValueElement
protected void startAncestorValueElement(Attributes attributes) throws ProcessingException, SAXException(Code)
<ancestor-value>



startEscapeStringElement
protected void startEscapeStringElement(Attributes attributes) throws ProcessingException, SAXException(Code)
<escape-string>



startExecuteQueryElement
protected void startExecuteQueryElement()(Code)
<execute-query>



startInParameterElement
protected void startInParameterElement(Attributes attributes)(Code)
<in-parameter>



startInXmlParameterElement
protected void startInXmlParameterElement(Attributes attributes) throws ProcessingException, SAXException(Code)
<xml>



startOutParameterElement
protected void startOutParameterElement(Attributes attributes)(Code)
<out-parameter>



startQueryElement
protected void startQueryElement(Attributes attributes) throws SAXException(Code)
<query>



startSubstituteValueElement
protected void startSubstituteValueElement(Attributes attributes) throws ProcessingException, SAXException(Code)
<substitute-value>



startTransformingElement
public void startTransformingElement(String uri, String name, String raw, Attributes attributes) throws ProcessingException, SAXException(Code)
ContentHandler method



startValueElement
protected void startValueElement(String name) throws SAXException(Code)
<*>



startXmlElement
protected void startXmlElement(Attributes attributes) throws ProcessingException, SAXException(Code)
<xml>



throwIllegalStateException
protected static void throwIllegalStateException(String message)(Code)



Fields inherited from org.apache.cocoon.transformation.AbstractSAXTransformer
final protected static Attributes EMPTY_ATTRIBUTES(Code)(Java Doc)
protected Context context(Code)(Java Doc)
protected String defaultNamespaceURI(Code)(Java Doc)
protected Attributes emptyAttributes(Code)(Java Doc)
protected boolean ignoreEmptyCharacters(Code)(Java Doc)
protected int ignoreEventsCount(Code)(Java Doc)
protected int ignoreHooksCount(Code)(Java Doc)
protected boolean ignoreWhitespaces(Code)(Java Doc)
protected ServiceManager manager(Code)(Java Doc)
protected String namespaceURI(Code)(Java Doc)
protected Map objectModel(Code)(Java Doc)
protected Parameters parameters(Code)(Java Doc)
final protected Stack recorderStack(Code)(Java Doc)
protected Request request(Code)(Java Doc)
protected SourceResolver resolver(Code)(Java Doc)
protected Response response(Code)(Java Doc)
protected String source(Code)(Java Doc)
final protected Stack stack(Code)(Java Doc)

Methods inherited from org.apache.cocoon.transformation.AbstractSAXTransformer
protected void addRecorder(XMLConsumer recorder)(Code)(Java Doc)
public void characters(char[] p0, int p1, int p2) throws SAXException(Code)(Java Doc)
public void comment(char ary, int start, int length) throws SAXException(Code)(Java Doc)
public void configure(Configuration configuration) throws ConfigurationException(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
public void endCDATA() throws SAXException(Code)(Java Doc)
public void endDTD() throws SAXException(Code)(Java Doc)
public void endDocument() throws SAXException(Code)(Java Doc)
public void endElement(String uri, String name, String raw) throws SAXException(Code)(Java Doc)
public void endEntity(String name) throws SAXException(Code)(Java Doc)
public SourceParameters endParametersRecording(Parameters source) throws SAXException(Code)(Java Doc)
public SourceParameters endParametersRecording(SourceParameters source) throws SAXException(Code)(Java Doc)
public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc)
public DocumentFragment endRecording() throws SAXException(Code)(Java Doc)
public XMLizable endSAXRecording() throws SAXException(Code)(Java Doc)
public String endSerializedXMLRecording() throws SAXException, ProcessingException(Code)(Java Doc)
public String endTextRecording() throws SAXException(Code)(Java Doc)
public void endTransformingElement(String uri, String name, String raw) throws ProcessingException, IOException, SAXException(Code)(Java Doc)
protected String findPrefixMapping(String uri)(Code)(Java Doc)
protected AttributesImpl getMutableAttributes(Attributes a)(Code)(Java Doc)
public void ignorableWhitespace(char[] p0, int p1, int p2) throws SAXException(Code)(Java Doc)
public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc)
public void recycle()(Code)(Java Doc)
protected Object removeRecorder()(Code)(Java Doc)
public void sendEndElementEvent(String localname) throws SAXException(Code)(Java Doc)
public void sendEndElementEventNS(String localname) throws SAXException(Code)(Java Doc)
protected void sendEndPrefixMapping() throws SAXException(Code)(Java Doc)
public void sendEvents(Node node) throws SAXException(Code)(Java Doc)
public void sendParametersEvents(SourceParameters pars) throws SAXException(Code)(Java Doc)
public void sendStartElementEvent(String localname) throws SAXException(Code)(Java Doc)
public void sendStartElementEvent(String localname, Attributes attr) throws SAXException(Code)(Java Doc)
public void sendStartElementEventNS(String localname) throws SAXException(Code)(Java Doc)
public void sendStartElementEventNS(String localname, Attributes attr) throws SAXException(Code)(Java Doc)
protected void sendStartPrefixMapping() throws SAXException(Code)(Java Doc)
public void sendTextEvent(String text) throws SAXException(Code)(Java Doc)
public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
public void setDocumentLocator(Locator locator)(Code)(Java Doc)
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters params) throws ProcessingException, SAXException, IOException(Code)(Java Doc)
public void setupTransforming() throws IOException, ProcessingException, SAXException(Code)(Java Doc)
public void skippedEntity(String name) throws SAXException(Code)(Java Doc)
public void startCDATA() throws SAXException(Code)(Java Doc)
public void startDTD(String name, String public_id, String system_id) throws SAXException(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String name, String raw, Attributes attr) throws SAXException(Code)(Java Doc)
public void startEntity(String name) throws SAXException(Code)(Java Doc)
public void startParametersRecording() throws SAXException(Code)(Java Doc)
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
public void startRecording() throws SAXException(Code)(Java Doc)
public void startSAXRecording() throws SAXException(Code)(Java Doc)
public void startSerializedXMLRecording(Properties format) throws SAXException(Code)(Java Doc)
public void startTextRecording() throws SAXException(Code)(Java Doc)
public void startTransformingElement(String uri, String name, String raw, Attributes attr) throws ProcessingException, IOException, SAXException(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.