Home
last modified time | relevance | path

Searched refs:toInclude (Results 1 – 7 of 7) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DIgnorePropertiesUtil.java16 …tic boolean shouldIgnore(Object value, Collection<String> toIgnore, Collection<String> toInclude) { in shouldIgnore() argument
17 if (toIgnore == null && toInclude ==null) { in shouldIgnore()
21 if (toInclude == null) { in shouldIgnore()
26 return !toInclude.contains(value); in shouldIgnore()
30 return !toInclude.contains(value) || toIgnore.contains(value); in shouldIgnore()
42 public static Checker buildCheckerIfNeeded(Set<String> toIgnore, Set<String> toInclude) { in buildCheckerIfNeeded() argument
44 if ((toInclude == null) && ((toIgnore == null) || toIgnore.isEmpty())) { in buildCheckerIfNeeded()
47 return Checker.construct(toIgnore, toInclude); in buildCheckerIfNeeded()
92 private Checker(Set<String> toIgnore, Set<String> toInclude) { in Checker() argument
97 _toInclude = toInclude; in Checker()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializer.java67 protected BeanSerializer(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) { in BeanSerializer() argument
68 super(src, toIgnore, toInclude); in BeanSerializer()
119 protected BeanSerializerBase withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) { in withByNameInclusion() argument
120 return new BeanSerializer(this, toIgnore, toInclude); in withByNameInclusion()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DUnwrappingBeanSerializer.java57 …wrappingBeanSerializer(UnwrappingBeanSerializer src, Set<String> toIgnore, Set<String> toInclude) { in UnwrappingBeanSerializer() argument
58 super(src, toIgnore, toInclude); in UnwrappingBeanSerializer()
97 protected BeanSerializerBase withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) { in withByNameInclusion() argument
98 return new UnwrappingBeanSerializer(this, toIgnore, toInclude); in withByNameInclusion()
DBeanAsArraySerializer.java73 …tected BeanAsArraySerializer(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) { in BeanAsArraySerializer() argument
74 super(src, toIgnore, toInclude); in BeanAsArraySerializer()
115 … protected BeanAsArraySerializer withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) { in withByNameInclusion() argument
116 return new BeanAsArraySerializer(this, toIgnore, toInclude); in withByNameInclusion()
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonIncludeProperties.java117 HashSet<String> toInclude = new HashSet<String>(); in withOverrides() local
120 toInclude.add(incl); in withOverrides()
124 return new JsonIncludeProperties.Value(toInclude); in withOverrides()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DBeanPropertyMap.java398 …ublic BeanPropertyMap withoutProperties(Collection<String> toExclude, Collection<String> toInclude) in withoutProperties() argument
400 if ((toExclude == null || toExclude.isEmpty()) && toInclude == null) { in withoutProperties()
412 if (!IgnorePropertiesUtil.shouldIgnore(prop.getName(), toExclude, toInclude)) { in withoutProperties()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DBeanSerializerBase.java187 … protected BeanSerializerBase(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) in BeanSerializerBase() argument
202 if (IgnorePropertiesUtil.shouldIgnore(bpw.getName(), toIgnore, toInclude)) { in BeanSerializerBase()
247 Set<String> toInclude); in withByNameInclusion() argument