Blame view

src/main/java/com/ishchuk/antlr/json/model/JsonPrimitive.java 415 Bytes
ea3b85f2   eishchuk   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  package com.ishchuk.antlr.json.model;
  
  public class JsonPrimitive extends JsonElement {
  
      private String value;
  
      public String getValue() {
          return value;
      }
  
      public void setValue(String value) {
          this.value = value;
      }
  
33a6a1e0   eishchuk   Converter to Yml
15
16
17
18
19
20
21
22
23
      public String toString() {
          return this.value;
      }
  
      @Override
      public String toYml(String delay) {
          return delay + this.value;
      }
  
ea3b85f2   eishchuk   Initial commit
24
  }