Class XMLSprayFormat

java.lang.Object
com.adaptris.hpcc.arguments.SprayFormat
com.adaptris.hpcc.arguments.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 Details

    • XMLSprayFormat

      public XMLSprayFormat()
    • XMLSprayFormat

      public XMLSprayFormat(String rowTag)
  • Method Details

    • prepare

      public void prepare() throws CoreException
      Throws:
      CoreException
    • addCommandSpecificArguments

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

      public String getRowTag()
    • setRowTag

      public void setRowTag(String rowTag)
    • getFormat

      public String getFormat()
    • setEncoding

      public void setEncoding(SprayFormat.ENCODING encoding)
    • getEncoding

      public SprayFormat.ENCODING getEncoding()
    • encoding

      public String encoding()
    • setMaxRecordSize

      public void setMaxRecordSize(Integer maxRecordSize)
    • getMaxRecordSize

      public Integer getMaxRecordSize()