public interface XmlData
Modifier and Type | Method and Description |
---|---|
logical |
readXml(SourceData source,
character readMode,
character schemaLocation,
logical overrideDefaultMapping)
Implementation of the READ-XML method.
|
logical |
readXml(SourceData source,
character readMode,
character schemaLocation,
logical overrideDefaultMapping,
character fieldTypeMapping)
Implementation of the READ-XML method.
|
logical |
readXml(SourceData source,
character readMode,
character schemaLocation,
logical overrideDefaultMapping,
character fieldTypeMapping,
character verifySchemaMode)
Implementation of the READ-XML method.
|
logical |
readXmlSchema(SourceData source,
logical override)
Reads XML Schema from an XML document and uses that schema to either create a schema for a
DataSet or TempTable or verify existing schema in a DataSet ,
TempTable or temp-table Buffer object. |
logical |
readXmlSchema(SourceData source,
logical override,
Text mapping)
Reads XML Schema from an XML document and uses that schema to either create a schema for a
DataSet or TempTable or verify existing schema in a DataSet ,
TempTable or temp-table Buffer object. |
logical |
readXmlSchema(SourceData source,
logical override,
Text mapping,
Text verifyMode)
Reads XML Schema from an XML document and uses that schema to either create a schema for a
DataSet or TempTable or verify existing schema in a DataSet ,
TempTable or temp-table Buffer object. |
logical |
writeXml(TargetData target)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding,
character schemaLocation)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding,
character schemaLocation,
logical writeXmlSchema)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding,
character schemaLocation,
logical writeXmlSchema,
logical minXmlSchema)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding,
character schemaLocation,
logical writeXmlSchema,
logical minXmlSchema,
logical writeBeforeImage)
Implementation of the WRITE-XML method.
|
logical |
writeXml(TargetData target,
logical formatted,
character encoding,
character schemaLocation,
logical writeXmlSchema,
logical minXmlSchema,
logical writeBeforeImage,
logical omitInitialValues)
Implementation of the WRITE-XML method.
|
logical |
writeXmlSchema(TargetData target)
Writes an XML representation of the definition of a
DataSet , TempTable or
temp-table Buffer object. |
logical |
writeXmlSchema(TargetData target,
logical formatted)
Writes an XML representation of the definition of a
DataSet , TempTable or
temp-table Buffer object. |
logical |
writeXmlSchema(TargetData target,
logical formatted,
Text encoding)
Writes an XML representation of the definition of a
DataSet , TempTable or
temp-table Buffer object. |
logical |
writeXmlSchema(TargetData target,
logical formatted,
Text encoding,
logical minXmlSchema)
Writes an XML representation of the definition of a
DataSet , TempTable or
temp-table Buffer object. |
logical |
writeXmlSchema(TargetData target,
logical formatted,
Text encoding,
logical minXmlSchema,
logical omitInitVal)
Writes an XML representation of the definition of a
DataSet , TempTable or
temp-table Buffer object. |
logical readXml(SourceData source, character readMode, character schemaLocation, logical overrideDefaultMapping)
Defaults applied:
source
- Data source.readMode
- Mode in which data is read into buffer. Must evaluate to APPEND
, EMPTY
, MERGE
, or REPLACE
.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to use the
xsi:noNamespaceSchemaLocation
value set in the XML data, if any.overrideDefaultMapping
- True
to override the default string-to-binary data type mappings when
creating a temp-table schema from an XML schema.True
if the operation completed successfully, else false
.logical readXml(SourceData source, character readMode, character schemaLocation, logical overrideDefaultMapping, character fieldTypeMapping)
Defaults applied:
source
- Data source.readMode
- Mode in which data is read into buffer. Must evaluate to APPEND
, EMPTY
, MERGE
, or REPLACE
.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to use the
xsi:noNamespaceSchemaLocation
value set in the XML data, if any.overrideDefaultMapping
- True
to override the default string-to-binary data type mappings when
creating a temp-table schema from an XML schema.fieldTypeMapping
- Comma-delimited list of field name and data type name pairs to use to override
data type mappings of specific fields. Specify unknown value to use default
mappings.True
if the operation completed successfully, else false
.logical readXml(SourceData source, character readMode, character schemaLocation, logical overrideDefaultMapping, character fieldTypeMapping, character verifySchemaMode)
source
- Data source.readMode
- Mode in which data is read into buffer. Must evaluate to APPEND
, EMPTY
, MERGE
, or REPLACE
.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to use the
xsi:noNamespaceSchemaLocation
value set in the XML data, if any.overrideDefaultMapping
- True
to override the default string-to-binary data type mappings when
creating a temp-table schema from an XML schema.fieldTypeMapping
- Comma-delimited list of field name and data type name pairs to use to override
data type mappings of specific fields. Specify unknown value to use default
mappings.verifySchemaMode
- Schema verification mode. Must evaluate to IGNORE
, LOOSE
, or
STRICT
. Default is LOOSE
.True
if the operation completed successfully, else false
.logical writeXml(TargetData target)
Defaults applied:
target
- Data target.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding, character schemaLocation)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to set the
xsi:noNamespaceSchemaLocation
to empty string or unknown value.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding, character schemaLocation, logical writeXmlSchema)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to set the
xsi:noNamespaceSchemaLocation
to empty string or unknown value.writeXmlSchema
- True
to write XML schema information, else false
.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding, character schemaLocation, logical writeXmlSchema, logical minXmlSchema)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to set the
xsi:noNamespaceSchemaLocation
to empty string or unknown value.writeXmlSchema
- True
to write XML schema information, else false
.minXmlSchema
- True
to write minimal XML schema information, else false
. Must be
false
if writeXmlSchema
is false
.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding, character schemaLocation, logical writeXmlSchema, logical minXmlSchema, logical writeBeforeImage)
Defaults applied:
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to set the
xsi:noNamespaceSchemaLocation
to empty string or unknown value.writeXmlSchema
- True
to write XML schema information, else false
.minXmlSchema
- True
to write minimal XML schema information, else false
. Must be
false
if writeXmlSchema
is false
.writeBeforeImage
- True
to write before-image data and error information, else false
.True
if the operation completed successfully, else false
.logical writeXml(TargetData target, logical formatted, character encoding, character schemaLocation, logical writeXmlSchema, logical minXmlSchema, logical writeBeforeImage, logical omitInitialValues)
target
- Data target.formatted
- True
to format the XML to make it more readable; false
to write it
as unformatted text. Unknown value is treated as false
.encoding
- Name of the character encoding to use.schemaLocation
- Name of an external XML schema file, or empty string or unknown value to set the
xsi:noNamespaceSchemaLocation
to empty string or unknown value.writeXmlSchema
- True
to write XML schema information, else false
.minXmlSchema
- True
to write minimal XML schema information, else false
. Must be
false
if writeXmlSchema
is false
.writeBeforeImage
- True
to write before-image data and error information, else false
.omitInitialValues
- True
to omit data for fields whose values match their initial values.True
if the operation completed successfully, else false
.logical writeXmlSchema(TargetData target)
DataSet
, TempTable
or
temp-table Buffer
object.target
- Data target.true
if operation is successful.logical writeXmlSchema(TargetData target, logical formatted)
DataSet
, TempTable
or
temp-table Buffer
object.target
- Data target.formatted
- Use true
for a more human-readable document.true
if operation is successful.logical writeXmlSchema(TargetData target, logical formatted, Text encoding)
DataSet
, TempTable
or
temp-table Buffer
object.target
- Data target.formatted
- Use true
for a more human-readable document.encoding
- The character encoding. The default is UTF-8.true
if operation is successful.logical writeXmlSchema(TargetData target, logical formatted, Text encoding, logical minXmlSchema)
DataSet
, TempTable
or
temp-table Buffer
object.target
- Data target.formatted
- Use true
for a more human-readable document.encoding
- The character encoding. The default is UTF-8.minXmlSchema
- If true
, the minimum amount of schema for the object will be written.true
if operation is successful.logical writeXmlSchema(TargetData target, logical formatted, Text encoding, logical minXmlSchema, logical omitInitVal)
DataSet
, TempTable
or
temp-table Buffer
object.target
- Data target.formatted
- Use true
for a more human-readable document.encoding
- The character encoding. The default is UTF-8.minXmlSchema
- If true
, the minimum amount of schema for the object will be written.omitInitVal
- Use true
to omit the initial values.true
if operation is successful.logical readXmlSchema(SourceData source, logical override)
DataSet
or TempTable
or verify existing schema in a DataSet
,
TempTable
or temp-table Buffer
object.source
- Data source.override
- If true
the default mapping between XML Schema string and binary data types
and ABL data types when creating an ABL temp-table schema from an XML Schema will
be overritten.true
if operation is successful.logical readXmlSchema(SourceData source, logical override, Text mapping)
DataSet
or TempTable
or verify existing schema in a DataSet
,
TempTable
or temp-table Buffer
object.source
- Data source.override
- If true
the default mapping between XML Schema string and binary data types
and ABL data types when creating an ABL temp-table schema from an XML Schema will
be overritten.mapping
- A comma-delimited list of field name, data type pairs. This allows to specify the
data type for a specific field.true
if operation is successful.logical readXmlSchema(SourceData source, logical override, Text mapping, Text verifyMode)
DataSet
or TempTable
or verify existing schema in a DataSet
,
TempTable
or temp-table Buffer
object.source
- Data source.override
- If true
the default mapping between XML Schema string and binary data types
and ABL data types when creating an ABL temp-table schema from an XML Schema will
be overritten.mapping
- A comma-delimited list of field name, data type pairs. This allows to specify the
data type for a specific field.verifyMode
- Specifies how the XML will be verified against the schema. Valid values: "LOOSE" or
"STRICT".true
if operation is successful.