Home
last modified time | relevance | path

Searched refs:representer (Results 1 – 25 of 57) sorted by relevance

123

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java44 import org.yaml.snakeyaml.representer.Representer;
55 protected Representer representer; field in Yaml
83 public Yaml(Representer representer) { in Yaml() argument
84 this(new Constructor(), representer); in Yaml()
107 public Yaml(BaseConstructor constructor, Representer representer) { in Yaml() argument
108 this(constructor, representer, new DumperOptions()); in Yaml()
120 public Yaml(Representer representer, DumperOptions dumperOptions) { in Yaml() argument
121 this(new Constructor(), representer, dumperOptions, new Resolver()); in Yaml()
135 public Yaml(BaseConstructor constructor, Representer representer, DumperOptions dumperOptions) { in Yaml() argument
136 this(constructor, representer, dumperOptions, new Resolver()); in Yaml()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DPropertyUtilsSharingTest.java23 import org.yaml.snakeyaml.representer.Representer;
29 assertSame(yaml1.constructor.getPropertyUtils(), yaml1.representer.getPropertyUtils()); in testYamlDefaults()
32 assertSame(yaml2.constructor.getPropertyUtils(), yaml2.representer.getPropertyUtils()); in testYamlDefaults()
35 assertSame(yaml3.constructor.getPropertyUtils(), yaml3.representer.getPropertyUtils()); in testYamlDefaults()
44 assertSame(pu, yaml.representer.getPropertyUtils()); in testYamlConstructorWithPropertyUtils()
53 assertSame(pu, yaml.representer.getPropertyUtils()); in testYamlRepresenterWithPropertyUtils()
61 Representer representer = new Representer(); in testYamlConstructorANDRepresenterWithPropertyUtils() local
63 representer.setPropertyUtils(pu_r); in testYamlConstructorANDRepresenterWithPropertyUtils()
64 Yaml yaml = new Yaml(constructor, representer); in testYamlConstructorANDRepresenterWithPropertyUtils()
66 assertSame(pu_r, yaml.representer.getPropertyUtils()); in testYamlConstructorANDRepresenterWithPropertyUtils()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue154/
DMissingPropertyTest.java23 import org.yaml.snakeyaml.representer.Representer;
61 Representer representer = new Representer(); in testSkipMissingProperties() local
62 representer.getPropertyUtils().setSkipMissingProperties(true); in testSkipMissingProperties()
63 yaml = new Yaml(new Constructor(), representer); in testSkipMissingProperties()
76 Representer representer = new Representer(); in testNoSkipMissingProperties() local
77 representer.getPropertyUtils().setSkipMissingProperties(false); in testNoSkipMissingProperties()
78 yaml = new Yaml(new Constructor(), representer); in testNoSkipMissingProperties()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DBaseRepresenter.java16 package org.yaml.snakeyaml.representer;
87 Represent representer = representers.get(clazz); in representData() local
88 node = representer.representData(data); in representData()
93 Represent representer = multiRepresenters.get(repr); in representData() local
94 node = representer.representData(data); in representData()
101 Represent representer = multiRepresenters.get(null); in representData() local
102 node = representer.representData(data); in representData()
104 Represent representer = representers.get(null); in representData() local
105 node = representer.representData(data); in representData()
/external/snakeyaml/src/patches/android/
DRepresenter.patch3 …git a/src/main/java/org/yaml/snakeyaml/representer/Representer.java b/src/main/java/org/yaml/snake…
4 --- a/src/main/java/org/yaml/snakeyaml/representer/Representer.java
5 +++ b/src/main/java/org/yaml/snakeyaml/representer/Representer.java
8 package org.yaml.snakeyaml.representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DClassTagsTest.java28 import org.yaml.snakeyaml.representer.Representer;
55 Representer representer = new Representer(); in testDumpClassTag() local
56 representer.addClassTag(Car.class, new Tag("!car")); in testDumpClassTag()
57 representer.addClassTag(Wheel.class, Tag.MAP); in testDumpClassTag()
58 Yaml yaml = new Yaml(representer); in testDumpClassTag()
DTypeSafeCollectionsTest.java29 import org.yaml.snakeyaml.representer.Representer;
81 Representer representer = new Representer(); in testWithGlobalTag() local
82 representer.addClassTag(MyWheel.class, Tag.MAP); in testWithGlobalTag()
83 Yaml yaml = new Yaml(representer); in testWithGlobalTag()
DImplicitTagsTest.java30 import org.yaml.snakeyaml.representer.Representer;
105 Representer representer = new Representer(); in testLoadClassTag() local
106 representer.addClassTag(Car.class, new Tag("!car")); in testLoadClassTag()
107 yaml = new Yaml(representer); in testLoadClassTag()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/
DPropOrderInfluenceWhenAliasedInGenericCollectionTest.java31 import org.yaml.snakeyaml.representer.Representer;
157 Representer representer = new Representer(); in testABWithCustomTag() local
161 representer.addClassTag(GeneralAccount.class, generalAccountTag); in testABWithCustomTag()
163 Yaml yaml = new Yaml(constructor, representer); in testABWithCustomTag()
186 Representer representer = new Representer(); in testABProperty() local
188 Yaml yaml = new Yaml(constructor, representer); in testABProperty()
211 Representer representer = new Representer(); in testABPropertyWithCustomTag() local
216 representer.addClassTag(GeneralAccount.class, generalAccountTag); in testABPropertyWithCustomTag()
218 Yaml yaml = new Yaml(constructor, representer); in testABPropertyWithCustomTag()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/
DYamlFieldAccessCollectionTest.java26 import org.yaml.snakeyaml.representer.Representer;
71 Representer representer = new Representer(); in constructYamlDumper() local
72 representer.getPropertyUtils().setBeanAccess(BeanAccess.FIELD); in constructYamlDumper()
73 Yaml yaml = new Yaml(representer); in constructYamlDumper()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/
DSingleQuoteTest.java27 import org.yaml.snakeyaml.representer.Representer;
45 Representer representer = new Representer(); in checkQuotes() local
47 Yaml yaml = new Yaml(new SafeConstructor(), representer, options); in checkQuotes()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DRepresenterTest.java16 package org.yaml.snakeyaml.representer;
159 Representer representer = new Representer(); in testRepresenterAddNull() local
161 representer.addClassTag(EmptyBean.class, (Tag) null); in testRepresenterAddNull()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue171/
DCustomRepresenter.java20 import org.yaml.snakeyaml.representer.Represent;
21 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/primitives/
DImmutablePrimitivesRepresenter.java22 import org.yaml.snakeyaml.representer.Represent;
23 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue127/
DNullAliasTest.java26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
DPropertyWithPrivateCostructorTest.java24 import org.yaml.snakeyaml.representer.Represent;
25 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/
DFileTest.java27 import org.yaml.snakeyaml.representer.Represent;
28 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/
DParameterizedTypeTest.java29 import org.yaml.snakeyaml.representer.Represent;
30 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DImmutablesRepresenter.java26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/
DBooleanEnumTest.java26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DDumpSetAsSequenceExampleTest.java30 import org.yaml.snakeyaml.representer.Represent;
31 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java8/org/yaml/snakeyaml/issues/issue310/
DOptionalTest.java28 import org.yaml.snakeyaml.representer.Represent;
29 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue11/
DYamlMapTest.java29 import org.yaml.snakeyaml.representer.Represent;
30 import org.yaml.snakeyaml.representer.Representer;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DBoolTagTest.java26 import org.yaml.snakeyaml.representer.Represent;
27 import org.yaml.snakeyaml.representer.Representer;
DNullTagTest.java28 import org.yaml.snakeyaml.representer.Represent;
29 import org.yaml.snakeyaml.representer.Representer;

123