Home
last modified time | relevance | path

Searched refs:yamlConstructors (Results 1 – 24 of 24) sorted by relevance

/external/snakeyaml/src/test/java/examples/
DIgnoreTagsExampleTest.java59 original = this.yamlConstructors.get(null); in MyConstructor()
60 this.yamlConstructors.put(null, new IgnoringConstruct()); in MyConstructor()
70 return yamlConstructors.get(Tag.STR).construct(node); in construct()
72 return yamlConstructors.get(Tag.SEQ).construct(node); in construct()
74 return yamlConstructors.get(Tag.MAP).construct(node); in construct()
DCustomImplicitResolverTest.java61 this.yamlConstructors.put(CUSTOM_TAG, new ConstructBig()); in BigConstructor()
DDiceExampleTest.java70 this.yamlConstructors.put(new Tag("!dice"), new ConstructDice()); in DiceConstructor()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DSafeConstructor.java52 this.yamlConstructors.put(Tag.NULL, new ConstructYamlNull()); in SafeConstructor()
53 this.yamlConstructors.put(Tag.BOOL, new ConstructYamlBool()); in SafeConstructor()
54 this.yamlConstructors.put(Tag.INT, new ConstructYamlInt()); in SafeConstructor()
55 this.yamlConstructors.put(Tag.FLOAT, new ConstructYamlFloat()); in SafeConstructor()
56 this.yamlConstructors.put(Tag.BINARY, new ConstructYamlBinary()); in SafeConstructor()
57 this.yamlConstructors.put(Tag.TIMESTAMP, new ConstructYamlTimestamp()); in SafeConstructor()
58 this.yamlConstructors.put(Tag.OMAP, new ConstructYamlOmap()); in SafeConstructor()
59 this.yamlConstructors.put(Tag.PAIRS, new ConstructYamlPairs()); in SafeConstructor()
60 this.yamlConstructors.put(Tag.SET, new ConstructYamlSet()); in SafeConstructor()
61 this.yamlConstructors.put(Tag.STR, new ConstructYamlStr()); in SafeConstructor()
[all …]
DConstructor.java82 this.yamlConstructors.put(null, new ConstructYamlObject()); in Constructor()
434 Construct stringConstructor = yamlConstructors.get(Tag.STR); in constructStandardJavaInstance()
437 Construct boolConstructor = yamlConstructors.get(Tag.BOOL); in constructStandardJavaInstance()
440 Construct charConstructor = yamlConstructors.get(Tag.STR); in constructStandardJavaInstance()
451 Construct dateConstructor = yamlConstructors.get(Tag.TIMESTAMP); in constructStandardJavaInstance()
470 Construct doubleConstructor = yamlConstructors.get(Tag.FLOAT); in constructStandardJavaInstance()
479 Construct intConstructor = yamlConstructors.get(Tag.INT); in constructStandardJavaInstance()
511 if (yamlConstructors.containsKey(node.getTag())) { in constructStandardJavaInstance()
512 result = yamlConstructors.get(node.getTag()).construct(node); in constructStandardJavaInstance()
DBaseConstructor.java56 protected final Map<Tag, Construct> yamlConstructors = new HashMap<Tag, Construct>(); field in BaseConstructor
204 Construct constructor = yamlConstructors.get(node.getTag()); in getConstructor()
211 return yamlConstructors.get(null); in getConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DBeanConstructor.java28 yamlConstructors.put(new Tag(Bean1.class), new Bean1ScalarConstructor()); in BeanConstructor()
29 yamlConstructors.put(new Tag(BeanHolder.class), new BeanHolderScalarConstructor()); in BeanConstructor()
DBeanConstructor3.java25 yamlConstructors.put(new Tag(BeanHolder.class), new BeanHolderScalarConstructor()); in BeanConstructor3()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DExample2_24Test.java41 this.yamlConstructors.put(new Tag("tag:clarkevans.com,2002:shape"), in MyConstructor()
43 this.yamlConstructors.put(new Tag("tag:clarkevans.com,2002:circle"), in MyConstructor()
45 this.yamlConstructors.put(new Tag("tag:clarkevans.com,2002:line"), new ConstructLine()); in MyConstructor()
46 this.yamlConstructors.put(new Tag("tag:clarkevans.com,2002:label"), in MyConstructor()
DChapter2_4Test.java132 this.yamlConstructors.put(new Tag("!something"), new ConstructSomething()); in SomethingConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue94/
DChangeRuntimeClassTest.java70 this.yamlConstructors.put(null, new ConstructProxy()); in MyConstructor()
75 this.yamlConstructors.put(null, new ConstructProxy()); in MyConstructor()
/external/snakeyaml/src/test/java/examples/jodatime/
DJodaTimeExampleTest.java73 Construct dateConstructor = yamlConstructors.get(Tag.TIMESTAMP); in construct()
96 yamlConstructors.put(Tag.TIMESTAMP, jodaDateConstruct); in JodaTimeConstructor()
DJodaTimeImplicitContructor.java31 this.yamlConstructors.put(Tag.TIMESTAMP, new ConstructJodaTimestamp()); in JodaTimeImplicitContructor()
DJodaTimeFlowStylesTest.java144 Construct dateConstructor = yamlConstructors.get(Tag.TIMESTAMP); in construct()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DPrefixConstructorTest.java63 this.yamlConstructors.put(null, new ConstructUnknown(CustomConstructor.this)); in CustomConstructor()
64 this.yamlConstructors.put(new Tag("!org.yaml.Exact"), new ExactConstruct( in CustomConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue150/
DYamlLoadAsIssueTest.java97 yamlConstructors.put(new Tag("!car"), new ConstructCar()); in MyConstructor()
98 yamlConstructors.put(new Tag("!wheel"), new ConstructWheel()); in MyConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/
DParameterizedTypeTest.java71 this.yamlConstructors.put(new Tag("!clazz"), new ConstructClass()); in ClassConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
DImplicitResolverTest.java46 this.yamlConstructors.put(CFG, new ConfigObjectConstruct()); in ConfigurationConstructor()
DResolverTest.java116 this.yamlConstructors.put(new Tag(Tag.PREFIX + "Phone"), new ConstructPhone()); in MyConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DRepresentTest.java80 this.yamlConstructors.put(new Tag(Tag.PREFIX + "Dice"), new ConstructDice()); in MyConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue11/
DYamlMapTest.java134 this.yamlConstructors.put(new Tag("!Custom"), new ConstructCustom()); in ExtendedConstructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue99/
DYamlBase64Test.java123 this.yamlConstructors.put(tag, new MyBinaryConstructor()); in SpecialContructor()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEventConstructor.java45 this.yamlConstructors.put(null, new ConstructEvent()); in EventConstructor()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java260 this.yamlConstructors.put(null, new ConstructUndefined()); in MyConstructor()