Home | History | Annotate | Download | only in issue11

Lines Matching refs:Custom

35         String output = yaml.dump(new Custom(123));
37 Custom o = (Custom) yaml.load(output);
44 data.put("customTag", new Custom(123));
53 assertTrue(m.get("customTag") instanceof Custom);
59 data.put("knownClass", new Wrapper("test", new Custom(456)));
73 private Custom b;
75 public Wrapper(String s, Custom bb) {
91 public Custom getB() {
95 public void setB(Custom bb) {
100 public static class Custom {
103 public Custom(Integer i) {
107 public Custom(Custom c) {
122 this.representers.put(Custom.class, new RepresentCustom());
127 return representScalar(new Tag("!Custom"), ((Custom) data).toString());
134 this.yamlConstructors.put(new Tag("!Custom"), new ConstructCustom());
140 return new Custom(new Integer(str));