public class VOSerializerConfig
extends java.lang.Object
| Constructor and Description |
|---|
VOSerializerConfig(DataFormat dataFormat,
VOTableVersion version,
StringElementSizer stringSizer,
boolean preserveDatatypes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DataFormat |
getDataFormat()
Returns the VOTable serialization format.
|
StringElementSizer |
getStringSizer()
Returns an object that can determine the lengths of
string array elements.
|
VOTableVersion |
getVersion()
Returns the output VOTable version.
|
boolean |
isPreserveDatatypes()
Indicates whether the serializer should try to keep datatypes as
per input data, or whether it may adjust them to produce cleaner output.
|
public VOSerializerConfig(DataFormat dataFormat, VOTableVersion version, StringElementSizer stringSizer, boolean preserveDatatypes)
dataFormat - serialization formatversion - VOTable output versionstringSizer - object that can determine lengths of string array
elementspreserveDatatypes - if true, do not attempt to improve matters
by choosing more appropriate datatypespublic DataFormat getDataFormat()
public VOTableVersion getVersion()
public StringElementSizer getStringSizer()
public boolean isPreserveDatatypes()