public class CsvDfdlSchemaGenerator extends Object implements DfdlSchemaGenerator
DfdlSchemaGenerator for CSV document.
This class uses "csv-template.dfdl.xsd" as a template. By consuming CSV header line
as an option, it fills corresponding element into schema.| Modifier and Type | Class and Description |
|---|---|
static class |
CsvDfdlSchemaGenerator.Options |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DELIMITER |
static String |
NAME |
| Constructor and Description |
|---|
CsvDfdlSchemaGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Document |
generate(ClassLoader classLoader,
Map<String,String> options) |
String |
getName() |
String[] |
getOptions() |
public static final String NAME
public static final String DEFAULT_DELIMITER
public String getName()
getName in interface DfdlSchemaGeneratorpublic String[] getOptions()
getOptions in interface DfdlSchemaGeneratorpublic Document generate(ClassLoader classLoader, Map<String,String> options) throws Exception
generate in interface DfdlSchemaGeneratorExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.