/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
Represent.java | 16 package org.yaml.snakeyaml.representer;
|
BaseRepresenter.java | 16 package org.yaml.snakeyaml.representer; 42 * in Java 'null' is not a type. So we have to keep the null representer 43 * separately otherwise it will coincide with the default representer which 87 Represent representer = representers.get(clazz); local 88 node = representer.representData(data); 93 Represent representer = multiRepresenters.get(repr); local 94 node = representer.representData(data); 101 Represent representer = multiRepresenters.get(null); local 102 node = representer.representData(data); 104 Represent representer = representers.get(null) local [all...] |
Representer.java | 16 package org.yaml.snakeyaml.representer; 41 public class Representer extends SafeRepresenter { 43 public Representer() {
|
SafeRepresenter.java | 16 package org.yaml.snakeyaml.representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
PropertyUtilsSharingTest.java | 23 import org.yaml.snakeyaml.representer.Representer; 29 assertSame(yaml1.constructor.getPropertyUtils(), yaml1.representer.getPropertyUtils()); 32 assertSame(yaml2.constructor.getPropertyUtils(), yaml2.representer.getPropertyUtils()); 34 Yaml yaml3 = new Yaml(new Representer()); 35 assertSame(yaml3.constructor.getPropertyUtils(), yaml3.representer.getPropertyUtils()); 44 assertSame(pu, yaml.representer.getPropertyUtils()); 48 Representer representer2 = new Representer(); 53 assertSame(pu, yaml.representer.getPropertyUtils()) 61 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresenterTest.java | 16 package org.yaml.snakeyaml.representer; 33 "!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean {name: Gnome, primitive: true}\n", 72 assertEquals("!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean2 {valid: true}\n", 121 "!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean3 {boolProperty: true, name: Gnome}\n", 159 Representer representer = new Representer(); local 161 representer.addClassTag(EmptyBean.class, (Tag) null); 176 "No JavaBean properties found in org.yaml.snakeyaml.representer.RepresenterTest$EmptyBean",
|
DumpStackTraceTest.java | 16 package org.yaml.snakeyaml.representer; 28 String input = Util.getLocalResource("representer/stacktrace1.txt"); 38 String input = Util.getLocalResource("representer/stacktrace2.txt"); 48 String input = Util.getLocalResource("representer/stacktrace3.txt"); 58 String input = Util.getLocalResource("representer/stacktrace1.txt"); 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml");
|
RepresentFieldTest.java | 16 package org.yaml.snakeyaml.representer; 32 "!!org.yaml.snakeyaml.representer.WrongJavaBean {publicField: Michael Jackson}\n", 41 yaml.load("!!org.yaml.snakeyaml.representer.WrongJavaBean {packageField: Gnome}\n"); 49 "Unable to find property 'packageField' on class: org.yaml.snakeyaml.representer.WrongJavaBean", 58 yaml.load("!!org.yaml.snakeyaml.representer.WrongJavaBean {staticField: Gnome}\n"); 66 "Unable to find property 'staticField' on class: org.yaml.snakeyaml.representer.WrongJavaBean",
|
WrongJavaBean.java | 16 package org.yaml.snakeyaml.representer;
|
FilterPropertyToDumpTest.java | 16 package org.yaml.snakeyaml.representer; 60 "!!org.yaml.snakeyaml.representer.FilterPropertyToDumpTest$BeanToRemoveProperty {id: ID126,\n number: 26, something: true}\n", 89 private class MyRepresenter extends Representer {
|
RepresentIterableTest.java | 16 package org.yaml.snakeyaml.representer; 36 "No JavaBean properties found in org.yaml.snakeyaml.representer.RepresentIterableTest$CounterFactory",
|
SafeRepresenterTest.java | 16 package org.yaml.snakeyaml.representer;
|
RepresentTest.java | 16 package org.yaml.snakeyaml.representer; 64 class MyRepresenter extends Representer {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
ClassTagsTest.java | 28 import org.yaml.snakeyaml.representer.Representer; 55 Representer representer = new Representer(); local 56 representer.addClassTag(Car.class, new Tag("!car")); 57 representer.addClassTag(Wheel.class, Tag.MAP); 58 Yaml yaml = new Yaml(representer);
|
TypeSafeCollectionsTest.java | 29 import org.yaml.snakeyaml.representer.Representer; 81 Representer representer = new Representer(); local 82 representer.addClassTag(MyWheel.class, Tag.MAP); 83 Yaml yaml = new Yaml(representer);
|
ImplicitTagsTest.java | 30 import org.yaml.snakeyaml.representer.Representer; 105 Representer representer = new Representer(); local 106 representer.addClassTag(Car.class, new Tag("!car")); 107 yaml = new Yaml(representer);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue154/ |
MissingPropertyTest.java | 23 import org.yaml.snakeyaml.representer.Representer; 61 Representer representer = new Representer(); local 62 representer.getPropertyUtils().setSkipMissingProperties(true); 63 yaml = new Yaml(new Constructor(), representer); 76 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/ |
SingleQuoteTest.java | 27 import org.yaml.snakeyaml.representer.Representer; 45 Representer representer = new Representer(); local 47 Yaml yaml = new Yaml(new SafeConstructor(), representer, options);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/ |
PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 31 import org.yaml.snakeyaml.representer.Representer; 157 Representer representer = new Representer(); local 161 representer.addClassTag(GeneralAccount.class, generalAccountTag); 163 Yaml yaml = new Yaml(constructor, representer); 186 Representer representer = new Representer(); local 211 Representer representer = new Representer(); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/ |
HumanGenericsTest.java | 38 import org.yaml.snakeyaml.representer.Representer; 219 Representer representer = new Representer(); local 220 representer.addClassTag(HumanGen2.class, Tag.MAP); 221 Yaml yaml = new Yaml(representer);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/ |
YamlFieldAccessCollectionTest.java | 26 import org.yaml.snakeyaml.representer.Representer; 71 Representer representer = new Representer(); local 72 representer.getPropertyUtils().setBeanAccess(BeanAccess.FIELD); 73 Yaml yaml = new Yaml(representer);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
Yaml.java | 44 import org.yaml.snakeyaml.representer.Representer; 55 protected Representer representer; field in class:Yaml 63 this(new Constructor(), new Representer(), new DumperOptions(), new Resolver()); 73 this(new Constructor(), new Representer(), dumperOptions); 80 * @param representer 81 * Representer to emit outgoing objects 83 public Yaml(Representer representer) { [all...] |