META-INF.csv-configuration.xsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nerd4j-csv Show documentation
Show all versions of nerd4j-csv Show documentation
CSV manipulation library.
Represents the set of characters used to define the CSV structure.
Character used to quote fields.
The character used by default is the double quote ["].
Character used to escape other characters.
There is no default values for this feature.
Character used to separate fields in the CSV source.
The character used by default is the comma [,].
The first of at most two record separator characters.
This character is mandatory, the second one is optional.
The character used by default is the new line feed [\n].
The second of at most two record separator characters.
This character is optional, the first one is mandatory.
There is no default values for this feature.
The name to be used by the CSVFactory
to register the CSVParser created by
this definition.
Set of characters to be completely ignored while parsing.
There is no default values for this feature.
Set of characters to be ignored if found
on heading or trailing of a field.
The characters ignored by default are:
space [ ], horizontal tab [\t], new line feed [\n].
Tells the CSVParser to treat
not escaped quotes less strictly.
The name to be used by the CSVFactory
to register the CSVFormatter created by
this definition.
Set of characters to be escaped during formatting.
There is no default values for this feature.
Set of characters that forces the whole field to be quoted.
The characters configured by default are:
space [ ], comma [,], horizontal tab [\t], new line feed [\n].
Definition of the model binder to use.
Definition of the CSV columns to handle.
Name of the handler to inherit from or full qualified class name
of the bean where to find the configuration annotations.
Defines the configuration of a CSV reader able to read
a CSV source and convert each CSV record into a proper
data model.
Configures a custom CSVParser for the current CSVReader.
The name to be used by the CSVFactory
to register the CSVReader created by
this definition.
The name used to refer to a previous configured parser.
Tells the CSVReader to read
the first row of the CSV source
and use it as a CSV header.
Tells the CSVReader to use the read
CSV header to link each column to the
configured name. This parameter can be
'true' only if the 'readHeader' is also
'true', otherwise the configuration is
inconsistent.
In the CSV standard each record must have the same number of cells.
But it is possible to face non standard CSV files where records
have different lengths. This flag tells the reader to accept
such non standard files.
Defines the configuration of a CSV writer able to read
a CSV data model and convert it into a proper CSV record
and write such record into the CSV destination.
Configures a custom CSVFormatter for the current CSVWriter.
The name to be used by the CSVFactory
to register the CSVWriter created by
this definition.
The name used to refer to a previous configured formatter.
Tells the CSVWriter to write the first row of
the CSV destination as a CSV header.
Defines the mapping between a CSV column and a data model field.
Definition of the processor to use to perform the conversion
between the CSV column value and the data model field.
The name of the CSV column reported
in the CSV source header if any. Or
the index of the column if no header
has been defined.
Tells if the this column is optional or mandatory
in the output data model. An optional column means
that the related data model accepts ""null" values.
The default value for this field is "false".
The name used to refer to a previous configured field processor.
A string representing the position
in the data model taken by this column.
The type of representation depends on the
model binder that will be used.
The built in model binders takes the following values:
array: the index of the value position in the output array.
bean: the name of the target property in the output Java Bean.
map: the value of the related key in the output map.
Represents the processor able to perform the validations
and conversions needed to translate a CSV column value
into the related data model field and vice versa.
The name used to register a previous configured field validator
used to check a specific condition before to perform conversion.
The name used to register a previous configured field converter
used to actually perform the conversion.
The name used to register a previous configured field validator
used to check a specific condition after conversion occurs.
The name used to refer to a previous configured field validator
used to check a specific condition before to perform conversion.
The name used to refer to a previous configured field converter
used to actually perform the conversion.
The name used to refer to a previous configured field validator
used to check a specific condition after the conversion occurs.
Performs validation over the values of a CSV column or the
related data model field. The built in validations types
are: checkStringLength, checkRegEx.
The name used to identify the validation type to use.
Set of custom defined attributes used to configure the validator.
Performs type conversion between the value
of a CSV column and the related data model
field and vice versa.
The built in validations types are:
parseByte, parseShort, parseInteger, parseLong, parseFloat, parseDouble,
parseBigInteger, parseBigDecimal, parseAtomicInteger, parseAtomicLong,
formatByte, formatShort, formatInteger, formatLong, formatFloat, formatDouble,
formatBigInteger, formatBigDecimal, formatAtomicInteger, formatAtomicLong,
parseBoolean, formatBoolean, parseDate, formatDate, parseEnum, formatEnum.
The name used to identify the conversion type to use.
Set of custom defined attributes used to configure the converter.
Model binder able to map each column of the CSV source
into a field of the related data model and vice versa.
Type of binding to perform. The built in binding types are:
'array', 'bean', 'map'.
Any attribute required by the specified binding type.
For example the binding type 'bean' requires a parameter
'bean-class' that specifies the full qualified class name
of the binded JavaBean.
Allows to register custom made items into the CSVFactory.
Registration of new custom types.
List of preconfigured validators registered with unique names.
IMPORTANT: The registered instance is singleton and is shared
by all csv-readers and csv-writers. If you need to be thread
safe define a custom type.
List of preconfigured converters registered with unique names.
IMPORTANT: The registered instance is singleton and is shared
by all csv-readers and csv-writers. If you need to be thread
safe define a custom type.
List of preconfigured processors registered with unique names.
IMPORTANT: The registered instance is singleton and is shared
by all csv-readers and csv-writers. If you need to be thread
safe define a custom type.
Represents the definition of a new custom type.
The values necessary to define a new type are:
a unique name used to refer the type and a class
implementing the CSVRegistryEntryProvider interface
able to provide type instances given the related configuration.
Unique name used to refer the type into the CSVRegistry.
Class implementing the CSVRegistryEntryProvider interface
to provide type instances given the related configuration.
Configuration of the custom types registry.
Into this tag is possible to configure the
builders able to create new custom defined
types instances.
Builder class for the custom defined converter.
Builder class for the custom defined validator.
Builder class for the custom defined CSV to data model binder.
Builder class for the custom defined data model to CSV binder.
Registration of a preconfigured validator.
This element must define all the parameters
and a unique name for the validator instance.
The unique name to be used to access the validator instance.
Registration of a preconfigured converter.
This element must define all the parameters
and a unique name for the converter instance.
The unique name to be used to access the converter instance.
Registration of a preconfigured processor.
This element must define all the parameters
and a unique name for the processor instance.
The unique name to be used to access the processor instance.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy