Uses of Class
org.apache.juneau.BeanMap
Packages that use BeanMap
Package
Description
- 
Uses of BeanMap in org.apache.juneauMethods in org.apache.juneau that return BeanMapModifier and TypeMethodDescriptionBeanMap.forEachProperty(Predicate<BeanPropertyMeta> filter, Consumer<BeanPropertyMeta> action) Performs an action on each property in this bean map.BeanMap.forEachValue(Predicate<Object> valueFilter, BeanPropertyConsumer action) Invokes all the getters on this bean and consumes the results.BeanMap<?>BeanMapEntry.getBeanMap()Returns the bean map that contains this property.BeanMap.load(Reader r, ReaderParser p) Convenience method for setting multiple property values by passing in a reader.Convenience method for setting multiple property values by passing in JSON text.Convenience method for loading this map with the contents of the specified map.<T> BeanMap<T>BeanContext.newBeanMap(Class<T> c) final <T> BeanMap<T>BeanSession.newBeanMap(Class<T> c) final <T> BeanMap<T>BeanSession.newBeanMap(Object outer, Class<T> c) Same asBeanSession.newBeanMap(Class), except used for instantiating inner member classes that must be instantiated within another class instance.static <T> BeanMap<T>BeanMap.of(T bean) Convenience method for wrapping a bean inside aBeanMap.<T> BeanMap<T>BeanContext.toBeanMap(T object) final <T> BeanMap<T>BeanSession.toBeanMap(T o) final <T> BeanMap<T>final <T> BeanMap<T>BeanSession.toBeanMap(T o, PropertyNamer propertyNamer) Methods in org.apache.juneau with parameters of type BeanMapModifier and TypeMethodDescriptionvoidAdds a value to aCollectionor array property.voidAdds a value to aMapor bean property.Equivalent to callingget(Object), but is faster since it avoids looking up the property meta.Equivalent to callinggetRaw(Object), but is faster since it avoids looking up the property meta.Equivalent to callingput(String, Object), but is faster since it avoids looking up the property meta.Constructors in org.apache.juneau with parameters of type BeanMapModifierConstructorDescriptionprotectedBeanMapEntry(BeanMap<?> beanMap, BeanPropertyMeta property, String pName) Constructor.
- 
Uses of BeanMap in org.apache.juneau.internalSubclasses of BeanMap in org.apache.juneau.internalModifier and TypeClassDescriptionclassRepresents a wrappedBeanMapwhere property values can be overridden, removed, or reordered without affecting the underlying bean.Methods in org.apache.juneau.internal that return BeanMapModifier and TypeMethodDescriptionDelegateBeanMap.forEachProperty(Predicate<BeanPropertyMeta> filter, Consumer<BeanPropertyMeta> action) 
- 
Uses of BeanMap in org.apache.juneau.parserMethods in org.apache.juneau.parser with parameters of type BeanMapModifier and TypeMethodDescriptionprotected final <T> voidParserSession.onUnknownProperty(String propertyName, BeanMap<T> beanMap, Object value) Method that gets called when an unknown bean property name is encountered.
- 
Uses of BeanMap in org.apache.juneau.serializerMethods in org.apache.juneau.serializer with parameters of type BeanMapModifier and TypeMethodDescriptionprotected static final BeanPropertyValueSerializerSession.createBeanTypeNameProperty(BeanMap<?> m, String typeName) Create a "_type" property that contains the dictionary name of the bean.