View Javadoc
1   package com.kodexa.client;
2   
3   import lombok.Data;
4   
5   import java.io.Serializable;
6   import java.util.ArrayList;
7   import java.util.List;
8   
9   /**
10   * A feature that has been applied to a node of the content model
11   */
12  @Data
13  public class ContentFeature implements Serializable {
14  
15      /**
16       * The type of feature (ie spatial, html, tag)
17       */
18      private String featureType;
19  
20      /**
21       * The name of the feature (ie tag name or div or line etc)
22       */
23      private String name;
24  
25      /**
26       * A list of the values that the feature has
27       */
28      private List<Object> value = new ArrayList<>();
29  
30      /**
31       * Is the feature a single value
32       */
33      private boolean single;
34  
35  }