com.jaxfront.core.util.io.cvsexport
Class CSVDocumentExporter

java.lang.Object
  extended by com.jaxfront.core.util.io.cvsexport.CSVDocumentExporter

public class CSVDocumentExporter
extends java.lang.Object


Constructor Summary
CSVDocumentExporter()
           
 
Method Summary
static java.lang.StringBuffer exportFlatten(Document dom, java.util.List instances)
           
static java.util.List exportFlatten(Document dom, java.util.List instances, boolean withHeader)
           
static java.util.List exportFlatten(Document dom, java.lang.String[] instances, boolean withHeader)
           
static void exportFlatten(java.lang.String file, Document dom, java.util.List instances)
           
static void getFlatten(ListType aType, java.util.Vector result)
           
static void getFlatten(Type aType, java.util.Vector result)
           
static void getFlattenHeaders(ListType aType, java.util.Vector result)
           
static void getFlattenHeaders(Type aType, java.util.Vector result)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVDocumentExporter

public CSVDocumentExporter()
Method Detail

exportFlatten

public static java.util.List exportFlatten(Document dom,
                                           java.lang.String[] instances,
                                           boolean withHeader)
                                    throws org.apache.xerces.xni.parser.XMLParseException,
                                           org.xml.sax.SAXException,
                                           java.io.IOException
Throws:
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException

exportFlatten

public static java.util.List exportFlatten(Document dom,
                                           java.util.List instances,
                                           boolean withHeader)
                                    throws org.apache.xerces.xni.parser.XMLParseException,
                                           org.xml.sax.SAXException,
                                           java.io.IOException
Throws:
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException

getFlatten

public static void getFlatten(Type aType,
                              java.util.Vector result)

getFlatten

public static void getFlatten(ListType aType,
                              java.util.Vector result)

getFlattenHeaders

public static void getFlattenHeaders(Type aType,
                                     java.util.Vector result)

getFlattenHeaders

public static void getFlattenHeaders(ListType aType,
                                     java.util.Vector result)

main

public static void main(java.lang.String[] args)
                 throws SchemaCreationException,
                        DocumentCreationException,
                        ValidationException,
                        org.apache.xerces.xni.parser.XMLParseException,
                        org.xml.sax.SAXException,
                        java.io.IOException
Throws:
SchemaCreationException
DocumentCreationException
ValidationException
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException

exportFlatten

public static void exportFlatten(java.lang.String file,
                                 Document dom,
                                 java.util.List instances)
                          throws org.apache.xerces.xni.parser.XMLParseException,
                                 org.xml.sax.SAXException,
                                 java.io.IOException
Throws:
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException

exportFlatten

public static java.lang.StringBuffer exportFlatten(Document dom,
                                                   java.util.List instances)
                                            throws org.apache.xerces.xni.parser.XMLParseException,
                                                   org.xml.sax.SAXException,
                                                   java.io.IOException
Throws:
org.apache.xerces.xni.parser.XMLParseException
org.xml.sax.SAXException
java.io.IOException