Class XMLSprayFormat

  • All Implemented Interfaces:
    ComponentLifecycleExtension

    public class XMLSprayFormat
    extends SprayFormat
    SprayFormat implementation that allows the configuration of command specific arguments for format=xml sprays.
    rowTagyesThe XML tag identifying each record.N/A
    encodingnoOne of the following: utf8 utf8n utf16 utf16le utf16be utf32 utf32le utf32beutf8
    maxrecordsizenoThe maximum size of each record, in bytes.8192

    NOTE: Defaults are driven by dfuplus command them selves, they will not be set unless explicitly set.

    • Constructor Detail

      • XMLSprayFormat

        public XMLSprayFormat()
      • XMLSprayFormat

        public XMLSprayFormat​(java.lang.String rowTag)
    • Method Detail

      • addCommandSpecificArguments

        public void addCommandSpecificArguments​(org.apache.commons.exec.CommandLine cmdLine)
      • getRowTag

        public java.lang.String getRowTag()
      • setRowTag

        public void setRowTag​(java.lang.String rowTag)
      • getFormat

        public java.lang.String getFormat()
      • encoding

        public java.lang.String encoding()
      • setMaxRecordSize

        public void setMaxRecordSize​(java.lang.Integer maxRecordSize)
      • getMaxRecordSize

        public java.lang.Integer getMaxRecordSize()