/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | Yaml.java | 44 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/ |
D | PropertyUtilsSharingTest.java | 23 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/ |
D | MissingPropertyTest.java | 23 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/ |
D | BaseRepresenter.java | 16 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/ |
D | Representer.patch | 3 …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/ |
D | ClassTagsTest.java | 28 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()
|
D | TypeSafeCollectionsTest.java | 29 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()
|
D | ImplicitTagsTest.java | 30 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/ |
D | PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 31 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/ |
D | YamlFieldAccessCollectionTest.java | 26 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/ |
D | SingleQuoteTest.java | 27 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/ |
D | RepresenterTest.java | 16 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/ |
D | CustomRepresenter.java | 20 import org.yaml.snakeyaml.representer.Represent; 21 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/primitives/ |
D | ImmutablePrimitivesRepresenter.java | 22 import org.yaml.snakeyaml.representer.Represent; 23 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue127/ |
D | NullAliasTest.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/ |
D | PropertyWithPrivateCostructorTest.java | 24 import org.yaml.snakeyaml.representer.Represent; 25 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue46/ |
D | FileTest.java | 27 import org.yaml.snakeyaml.representer.Represent; 28 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/ |
D | ParameterizedTypeTest.java | 29 import org.yaml.snakeyaml.representer.Represent; 30 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
D | ImmutablesRepresenter.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue311/ |
D | BooleanEnumTest.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | DumpSetAsSequenceExampleTest.java | 30 import org.yaml.snakeyaml.representer.Represent; 31 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java8/org/yaml/snakeyaml/issues/issue310/ |
D | OptionalTest.java | 28 import org.yaml.snakeyaml.representer.Represent; 29 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue11/ |
D | YamlMapTest.java | 29 import org.yaml.snakeyaml.representer.Represent; 30 import org.yaml.snakeyaml.representer.Representer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | BoolTagTest.java | 26 import org.yaml.snakeyaml.representer.Represent; 27 import org.yaml.snakeyaml.representer.Representer;
|
D | NullTagTest.java | 28 import org.yaml.snakeyaml.representer.Represent; 29 import org.yaml.snakeyaml.representer.Representer;
|