Java Doc for XmlRowDataConverter.java in  » Database-Client » SQL-Workbench » workbench » db » exporter » 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 » Database Client » SQL Workbench » workbench.db.exporter 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   workbench.db.exporter.RowDataConverter
      workbench.db.exporter.XmlRowDataConverter

XmlRowDataConverter
public class XmlRowDataConverter extends RowDataConverter (Code)
Convert row data to our own XML format.
author:
   support@sql-workbench.net


Field Summary
final public static  StringATTR_DATA_FILE
    
final public static  StringATTR_LONGVALUE
    
final public static  StringATTR_NULL
    
final public static  StringCOLUMN_COUNT_TAG
    
final public static  StringCOLUMN_DEF_TAG
    
final public static  StringCOLUMN_NAME_TAG
    
final public static  StringDATA_FORMAT_TAG
    
final public static  StringDBMS_TYPE_TAG
    
final public static  StringJAVA_CLASS_TAG
    
final public static  StringJAVA_TYPE_TAG
    
final public static  StringKEY_FORMAT_LONG
    
final public static  StringKEY_FORMAT_SHORT
    
final public static  StringLONG_COLUMN_TAG
    
final public static  StringLONG_ROW_TAG
    
final public static  StringSHORT_COLUMN_TAG
    
final public static  StringSHORT_ROW_TAG
    
final public static  StringTABLE_DEF_TAG
    
final public static  StringTABLE_NAME_TAG
    
final public static  StringTAG_TAG_FORMAT
    

Constructor Summary
public  XmlRowDataConverter()
    

Method Summary
public  StrBufferconvertRowData(RowData row, long rowIndex)
    
public  StrBuffergetEnd(long totalRows)
    
public  StrBuffergetStart()
    
public  voidsetLineEnding(String ending)
    
public  voidsetOriginalConnection(WbConnection con)
    
public  voidsetTableNameToUse(String name)
    
public  voidsetUseCDATA(boolean flag)
    
public  voidsetUseVerboseFormat(boolean flag)
    
public  voidsetWriteClobToFile(boolean flag)
    

Field Detail
ATTR_DATA_FILE
final public static String ATTR_DATA_FILE(Code)



ATTR_LONGVALUE
final public static String ATTR_LONGVALUE(Code)



ATTR_NULL
final public static String ATTR_NULL(Code)



COLUMN_COUNT_TAG
final public static String COLUMN_COUNT_TAG(Code)



COLUMN_DEF_TAG
final public static String COLUMN_DEF_TAG(Code)



COLUMN_NAME_TAG
final public static String COLUMN_NAME_TAG(Code)



DATA_FORMAT_TAG
final public static String DATA_FORMAT_TAG(Code)



DBMS_TYPE_TAG
final public static String DBMS_TYPE_TAG(Code)



JAVA_CLASS_TAG
final public static String JAVA_CLASS_TAG(Code)



JAVA_TYPE_TAG
final public static String JAVA_TYPE_TAG(Code)



KEY_FORMAT_LONG
final public static String KEY_FORMAT_LONG(Code)



KEY_FORMAT_SHORT
final public static String KEY_FORMAT_SHORT(Code)



LONG_COLUMN_TAG
final public static String LONG_COLUMN_TAG(Code)



LONG_ROW_TAG
final public static String LONG_ROW_TAG(Code)



SHORT_COLUMN_TAG
final public static String SHORT_COLUMN_TAG(Code)



SHORT_ROW_TAG
final public static String SHORT_ROW_TAG(Code)



TABLE_DEF_TAG
final public static String TABLE_DEF_TAG(Code)



TABLE_NAME_TAG
final public static String TABLE_NAME_TAG(Code)



TAG_TAG_FORMAT
final public static String TAG_TAG_FORMAT(Code)




Constructor Detail
XmlRowDataConverter
public XmlRowDataConverter()(Code)




Method Detail
convertRowData
public StrBuffer convertRowData(RowData row, long rowIndex)(Code)



getEnd
public StrBuffer getEnd(long totalRows)(Code)



getStart
public StrBuffer getStart()(Code)



setLineEnding
public void setLineEnding(String ending)(Code)



setOriginalConnection
public void setOriginalConnection(WbConnection con)(Code)



setTableNameToUse
public void setTableNameToUse(String name)(Code)



setUseCDATA
public void setUseCDATA(boolean flag)(Code)



setUseVerboseFormat
public void setUseVerboseFormat(boolean flag)(Code)



setWriteClobToFile
public void setWriteClobToFile(boolean flag)(Code)



Fields inherited from workbench.db.exporter.RowDataConverter
final public static String BLOB_ARCHIVE_SUFFIX(Code)(Java Doc)
protected List<String> blobIdColumns(Code)(Java Doc)
protected int[] blobNameCols(Code)(Java Doc)
protected boolean convertDateToTimestamp(Code)(Java Doc)
protected long currentRow(Code)(Java Doc)
protected RowData currentRowData(Code)(Java Doc)
protected SimpleDateFormat defaultDateFormatter(Code)(Java Doc)
protected DecimalFormat defaultNumberFormatter(Code)(Java Doc)
protected SimpleDateFormat defaultTimestampFormatter(Code)(Java Doc)
protected String encoding(Code)(Java Doc)
protected ErrorReporter errorReporter(Code)(Java Doc)
protected List exportColumns(Code)(Java Doc)
protected OutputFactory factory(Code)(Java Doc)
protected String filenameColumn(Code)(Java Doc)
protected int filenameColumnIndex(Code)(Java Doc)
protected String generatingSql(Code)(Java Doc)
protected ResultInfo metaData(Code)(Java Doc)
protected boolean needsUpdateTable(Code)(Java Doc)
protected WbConnection originalConnection(Code)(Java Doc)
protected boolean useRowNumForBlobFile(Code)(Java Doc)
protected boolean writeHeader(Code)(Java Doc)

Methods inherited from workbench.db.exporter.RowDataConverter
abstract public StrBuffer convertRowData(RowData row, long rowIndex)(Code)(Java Doc)
public File createBlobFile(RowData row, int colIndex, long rowNum)(Code)(Java Doc)
protected String createFilename(RowData row, int colIndex, long rowNum)(Code)(Java Doc)
protected OutputStream createOutputStream(File output) throws IOException(Code)(Java Doc)
public void exportFinished() throws IOException(Code)(Java Doc)
public File generateDataFileName(ColumnData data)(Code)(Java Doc)
public File getBaseDir()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
abstract public StrBuffer getEnd(long totalRows)(Code)(Java Doc)
protected String getFileExtension()(Code)(Java Doc)
protected File getOutputFile()(Code)(Java Doc)
public String getPageTitle()(Code)(Java Doc)
public String getPageTitle(String defaultTitle)(Code)(Java Doc)
public ResultInfo getResultInfo()(Code)(Java Doc)
abstract public StrBuffer getStart()(Code)(Java Doc)
public String getValueAsFormattedString(RowData row, int col) throws IndexOutOfBoundsException(Code)(Java Doc)
public boolean includeColumnInExport(int col)(Code)(Java Doc)
public boolean needsUpdateTable()(Code)(Java Doc)
void setBlobIdColumns(List<String> cols)(Code)(Java Doc)
public void setColumnsToExport(List<ColumnIdentifier> columns)(Code)(Java Doc)
public void setCompressExternalFiles(boolean flag)(Code)(Java Doc)
public void setDefaultDateFormat(String format)(Code)(Java Doc)
public void setDefaultDateFormatter(SimpleDateFormat formatter)(Code)(Java Doc)
public void setDefaultNumberFormat(String aFormat)(Code)(Java Doc)
public void setDefaultNumberFormatter(DecimalFormat formatter)(Code)(Java Doc)
public void setDefaultTimestampFormat(String format)(Code)(Java Doc)
public void setDefaultTimestampFormatter(SimpleDateFormat formatter)(Code)(Java Doc)
public void setEncoding(String enc)(Code)(Java Doc)
public void setErrorReporter(ErrorReporter reporter)(Code)(Java Doc)
public void setFilenameColumn(String colname)(Code)(Java Doc)
public void setGeneratingSql(String sql)(Code)(Java Doc)
public void setOriginalConnection(WbConnection conn)(Code)(Java Doc)
public void setOutputFile(File f)(Code)(Java Doc)
public void setPageTitle(String title)(Code)(Java Doc)
public void setResultInfo(ResultInfo meta)(Code)(Java Doc)
public void setWriteHeader(boolean writeHeader)(Code)(Java Doc)
public void writeBlobFile(Object value, File f) throws IOException(Code)(Java Doc)
public void writeClobFile(String value, File f, String encoding) throws IOException(Code)(Java Doc)
protected void writeEscapedXML(StrBuffer out, String s, boolean keepCR)(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.