Searched refs:multiRepresenters (Results 1 – 4 of 4) sorted by relevance
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
D | BaseRepresenter.java | 48 …protected final Map<Class<?>, Represent> multiRepresenters = new LinkedHashMap<Class<?>, Represent… field in BaseRepresenter 91 for (Class<?> repr : multiRepresenters.keySet()) { in representData() 93 Represent representer = multiRepresenters.get(repr); in representData() 100 if (multiRepresenters.containsKey(null)) { in representData() 101 Represent representer = multiRepresenters.get(null); in representData()
|
D | SafeRepresenter.java | 65 this.multiRepresenters.put(Number.class, new RepresentNumber()); in SafeRepresenter() 66 this.multiRepresenters.put(List.class, new RepresentList()); in SafeRepresenter() 67 this.multiRepresenters.put(Map.class, new RepresentMap()); in SafeRepresenter() 68 this.multiRepresenters.put(Set.class, new RepresentSet()); in SafeRepresenter() 69 this.multiRepresenters.put(Iterator.class, new RepresentIterator()); in SafeRepresenter() 70 this.multiRepresenters.put(new Object[0].getClass(), new RepresentArray()); in SafeRepresenter() 71 this.multiRepresenters.put(Date.class, new RepresentDate()); in SafeRepresenter() 72 this.multiRepresenters.put(Enum.class, new RepresentEnum()); in SafeRepresenter() 73 this.multiRepresenters.put(Calendar.class, new RepresentDate()); in SafeRepresenter()
|
/external/snakeyaml/src/test/java/examples/jodatime/ |
D | JodaTimeRepresenter.java | 26 multiRepresenters.put(DateTime.class, new RepresentJodaDateTime()); in JodaTimeRepresenter()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | DumpSetAsSequenceExampleTest.java | 60 this.multiRepresenters.put(Set.class, new RepresentIterable()); in SetRepresenter()
|