HomeSort by relevance Sort by last modified time
    Searched refs:representer (Results 1 - 25 of 56) sorted by null

1 2 3

  /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...]
  /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/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/issue171/
CustomRepresenter.java 20 import org.yaml.snakeyaml.representer.Represent;
21 import org.yaml.snakeyaml.representer.Representer;
23 class CustomRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
WrongJavaBean.java 16 package 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",
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",
RepresentIterableTest.java 16 package org.yaml.snakeyaml.representer;
36 "No JavaBean properties found in org.yaml.snakeyaml.representer.RepresentIterableTest$CounterFactory",
  /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...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/primitives/
ImmutablePrimitivesRepresenter.java 22 import org.yaml.snakeyaml.representer.Represent;
23 import org.yaml.snakeyaml.representer.Representer;
25 public class ImmutablePrimitivesRepresenter extends Representer {
  /external/snakeyaml/src/test/java/examples/jodatime/
JodaTimeRepresenter.java 22 import org.yaml.snakeyaml.representer.Representer;
24 class JodaTimeRepresenter extends Representer {
  /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/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);
  /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/test/java/org/yaml/snakeyaml/issues/issue127/
NullAliasTest.java 26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
41 class BeanRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
PropertyWithPrivateCostructorTest.java 24 import org.yaml.snakeyaml.representer.Represent;
25 import org.yaml.snakeyaml.representer.Representer;
29 public static class OptionRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/
FileTest.java 27 import org.yaml.snakeyaml.representer.Represent;
28 import org.yaml.snakeyaml.representer.Representer;
50 public class MyRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/
ParameterizedTypeTest.java 29 import org.yaml.snakeyaml.representer.Represent;
30 import org.yaml.snakeyaml.representer.Representer;
56 static class ClassRepresenter extends Representer {
  /external/snakeyaml/src/test/java8/org/yaml/snakeyaml/issues/issue310/
OptionalTest.java 28 import org.yaml.snakeyaml.representer.Represent;
29 import org.yaml.snakeyaml.representer.Representer;
110 public static class OptionalRepresenter extends Representer {
  /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/immutable/
ImmutablesRepresenter.java 26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
29 public class ImmutablesRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
BooleanEnumTest.java 26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
62 class MyRepresenter extends Representer {
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DumpSetAsSequenceExampleTest.java 30 import org.yaml.snakeyaml.representer.Represent;
31 import org.yaml.snakeyaml.representer.Representer;
58 private class SetRepresenter extends Representer {

Completed in 1975 milliseconds

1 2 3