Class XmlDatasetTypeProperties


  • public final class XmlDatasetTypeProperties
    extends Object
    Xml dataset properties.
    • Constructor Detail

      • XmlDatasetTypeProperties

        public XmlDatasetTypeProperties()
    • Method Detail

      • location

        public DatasetLocation location()
        Get the location property: The location of the json data storage.
        Returns:
        the location value.
      • withLocation

        public XmlDatasetTypeProperties withLocation​(DatasetLocation location)
        Set the location property: The location of the json data storage.
        Parameters:
        location - the location value to set.
        Returns:
        the XmlDatasetTypeProperties object itself.
      • encodingName

        public Object encodingName()
        Get the encodingName property: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).
        Returns:
        the encodingName value.
      • withEncodingName

        public XmlDatasetTypeProperties withEncodingName​(Object encodingName)
        Set the encodingName property: The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).
        Parameters:
        encodingName - the encodingName value to set.
        Returns:
        the XmlDatasetTypeProperties object itself.
      • nullValue

        public Object nullValue()
        Get the nullValue property: The null value string. Type: string (or Expression with resultType string).
        Returns:
        the nullValue value.
      • withNullValue

        public XmlDatasetTypeProperties withNullValue​(Object nullValue)
        Set the nullValue property: The null value string. Type: string (or Expression with resultType string).
        Parameters:
        nullValue - the nullValue value to set.
        Returns:
        the XmlDatasetTypeProperties object itself.
      • compression

        public DatasetCompression compression()
        Get the compression property: The data compression method used for the json dataset.
        Returns:
        the compression value.
      • withCompression

        public XmlDatasetTypeProperties withCompression​(DatasetCompression compression)
        Set the compression property: The data compression method used for the json dataset.
        Parameters:
        compression - the compression value to set.
        Returns:
        the XmlDatasetTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.