com.mathworks.mps.client

## Class MWDefaultMarshalingRules

- java.lang.Object
- - com.mathworks.mps.client.MWDefaultMarshalingRules

- All Implemented Interfaces:
    MWMarshalingRules

      public class MWDefaultMarshalingRules
      extends java.lang.Object
      implements MWMarshalingRules

  Provides a default implementation of `MWMarshalingRules`. User's extend this class when defining custom marshaling rules. The default implementation returns an empty list of structs that can be marshalled.

- - ### Field Summary

    - ### Fields inherited from interface com.mathworks.mps.client.MWMarshalingRules

      `DEFAULT_STRUCT_TYPES`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MWDefaultMarshalingRules()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<java.lang.Class>` | `getStructTypes()` Get the list of user defined Java classes that represent a MATLAB struct

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MWDefaultMarshalingRules

          public MWDefaultMarshalingRules()

  - ### Method Detail

    - #### getStructTypes

          public java.util.List<java.lang.Class> getStructTypes()

      Get the list of user defined Java classes that represent a MATLAB struct
      Specified by:
        `getStructTypes` in interface `MWMarshalingRules`
      Returns:
        An empty list

Copyright 2010-2022 The MathWorks, Inc.