Home
last modified time | relevance | path

Searched refs:withAttribute (Results 1 – 10 of 10) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestVirtualProperties.java100 String json = WRITER.withAttribute("id", "abc123") in testAttributeProperties()
101 .withAttribute("internal", stuff) in testAttributeProperties()
105 json = WRITER.withAttribute("id", "abc123") in testAttributeProperties()
106 .withAttribute("internal", stuff) in testAttributeProperties()
114 String json = WRITER.withAttribute("desc", "nice") in testAttributePropInclusion()
123 json = WRITER.withAttribute("desc", "") in testAttributePropInclusion()
130 String json = WRITER.withAttribute("desc", "nice") in testCustomProperties()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextAttributeWithSer.java68 String json = MAPPER.writer().withAttribute(KEY, Integer.valueOf(3)) in testSimpleDefaults()
72 String json2 = MAPPER.writer().withAttribute(KEY, Integer.valueOf(3)) in testSimpleDefaults()
81 ObjectWriter w = MAPPER.writer().withAttribute(KEY, Integer.valueOf(2)); in testHierarchic()
DTestContextAttributeWithDeser.java69 .withAttribute(KEY, Integer.valueOf(3)) in testSimpleDefaults()
75 .withAttribute(KEY, Integer.valueOf(5)) in testSimpleDefaults()
83 ObjectReader r = MAPPER.readerFor(TestPOJO[].class).withAttribute(KEY, Integer.valueOf(2)); in testHierarchic()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DPOJONodeTest.java49 String mapOut = MAPPER.writer().withAttribute("myAttr", "Hello!").writeValueAsString(mapTest); in testPOJONodeCustomSer()
52 … String treeOut = MAPPER.writer().withAttribute("myAttr", "Hello!").writeValueAsString(treeTest); in testPOJONodeCustomSer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectWriter.java636 public ObjectWriter withAttribute(Object key, Object value) { in withAttribute() method in ObjectWriter
637 return _new(this, _config.withAttribute(key, value)); in withAttribute()
DObjectReader.java912 public ObjectReader withAttribute(Object key, Object value) { in withAttribute() method in ObjectReader
913 return _with( _config.withAttribute(key, value)); in withAttribute()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectWriterTest.java188 w = w.withAttribute("a", "b"); in testMiscSettings()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMapperConfigBase.java411 public T withAttribute(Object key, Object value) { in withAttribute() method in MapperConfigBase
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py4932 def withAttribute(*args,**attrDict): function
4991 if attrValue != withAttribute.ANY_VALUE and tokens[attrName] != attrValue:
4995 withAttribute.ANY_VALUE = object()
5030 return withAttribute(**{classattr : classname})
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py4932 def withAttribute(*args,**attrDict): function
4991 if attrValue != withAttribute.ANY_VALUE and tokens[attrName] != attrValue:
4995 withAttribute.ANY_VALUE = object()
5030 return withAttribute(**{classattr : classname})