From commits-return-4943-archive-asf-public=cust-asf.ponee.io@juneau.apache.org Mon Jan 15 00:07:16 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 59D69180651 for ; Mon, 15 Jan 2018 00:07:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4A731160C4B; Sun, 14 Jan 2018 23:07:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03BA1160C44 for ; Mon, 15 Jan 2018 00:07:13 +0100 (CET) Received: (qmail 74978 invoked by uid 500); 14 Jan 2018 23:07:13 -0000 Mailing-List: contact commits-help@juneau.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@juneau.apache.org Delivered-To: mailing list commits@juneau.apache.org Received: (qmail 74959 invoked by uid 99); 14 Jan 2018 23:07:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jan 2018 23:07:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CC331C51CF for ; Sun, 14 Jan 2018 23:07:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.231 X-Spam-Level: X-Spam-Status: No, score=-4.231 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id N9ikyQx_kUnH for ; Sun, 14 Jan 2018 23:07:04 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 1EE4D5FDE5 for ; Sun, 14 Jan 2018 23:06:50 +0000 (UTC) Received: (qmail 74080 invoked by uid 99); 14 Jan 2018 23:06:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jan 2018 23:06:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DB38FE945F; Sun, 14 Jan 2018 23:06:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jamesbognar@apache.org To: commits@juneau.incubator.apache.org Date: Sun, 14 Jan 2018 23:07:29 -0000 Message-Id: <50a6491cd2784e5ca3ddc7ec92998f05@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [46/51] [partial] juneau-website git commit: Update javadocs. http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanDictionaryList.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanDictionaryList.html b/content/site/apidocs/org/apache/juneau/BeanDictionaryList.html index 6e25712..0539f1a 100644 --- a/content/site/apidocs/org/apache/juneau/BeanDictionaryList.html +++ b/content/site/apidocs/org/apache/juneau/BeanDictionaryList.html @@ -131,18 +131,36 @@ var activeTableTab = "activeTableTab";

-
public class BeanDictionaryList
+
public class BeanDictionaryList
 extends ArrayList<Class<?>>
Represents a collection of bean classes that make up a bean dictionary. - +

The classes in the list must be one of the following:

- + +
Example:
+

+ // A bean dictionary list consisting of classes with @Bean.typeName() annotations. + public class MyBeanDictionaryList extends BeanDictionaryList { + + // Must provide a no-arg constructor! + public MyBeanDictionaryList() { + super(ABean.class, BBean.class, CBean.class); + } + } + + // Use it in a parser. + ReaderParser p = JsonParser + .create() + .beanDictionary(MyBeanDictionaryList.class) + .build(); +

+

Subclasses must implement a public no-arg constructor so that it can be instantiated by the bean context code.

@@ -179,10 +197,12 @@ extends Constructors  -Constructor and Description +Modifier +Constructor and Description -BeanDictionaryList(Class<?>... c) +protected +BeanDictionaryList(Class<?>... c)
Constructor.
@@ -270,12 +290,12 @@ extends
  • BeanDictionaryList

    -
    public BeanDictionaryList(Class<?>... c)
    +
    protected BeanDictionaryList(Class<?>... c)
    Constructor.
    Parameters:
    c - The list of bean classes to add to this dictionary. - Classes must either specify a Bean.typeName() value or be another subclass of + Classes must either specify a @Bean.typeName() value or be another subclass of BeanDictionaryList.
  • @@ -294,12 +314,12 @@ extends
  • append

    -
    protected BeanDictionaryList append(Class<?>... c)
    +
    protected BeanDictionaryList append(Class<?>... c)
    Append one or more bean classes to this bean dictionary.
    Parameters:
    c - The list of bean classes to add to this dictionary. - Classes must either specify a Bean.typeName() value or be another subclass of + Classes must either specify a @Bean.typeName() value or be another subclass of BeanDictionaryList.
    Returns:
    This object (for method chaining).
    http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanDictionaryMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanDictionaryMap.html b/content/site/apidocs/org/apache/juneau/BeanDictionaryMap.html index a196c7a..476436a 100644 --- a/content/site/apidocs/org/apache/juneau/BeanDictionaryMap.html +++ b/content/site/apidocs/org/apache/juneau/BeanDictionaryMap.html @@ -127,14 +127,43 @@ var activeTableTab = "activeTableTab";


    -
    public class BeanDictionaryMap
    +
    public class BeanDictionaryMap
     extends LinkedHashMap<String,Object>
    Represents a map of dictionary type names to bean classes that make up a bean dictionary. - +

    In general, this approach for defining dictionary names for classes is used when it's not possible to use the - Bean.typeName() annotation. - + @Bean.typeName() annotation. + +

    Example:
    +

    + // A bean dictionary map consisting of classes without @Bean.typeName() annotations + // that require type names to be explicitly specified. + public class MyBeanDictionaryMap extends BeanDictionaryMap { + + // Must provide a no-arg constructor! + public MyBeanDictionaryMap() { + addClass("MyBean", MyBean.class); + addClass("MyBeanArray", MyBean[].class); + addClass("StringArray", String[].class); + addClass("String2dArray", String[][].class); + addClass("IntArray", int[].class); + addClass("Int2dArray", int[][].class); + addClass("LinkedList", LinkedList.class); + addClass("TreeMap", TreeMap.class); + addCollectionClass("LinkedListOfInts", LinkedList.class, Integer.class); + addCollectionClass("LinkedListOfR1", LinkedList.class, R1.class); + addCollectionClass("LinkedListOfCalendar", LinkedList.class, Calendar.class); + } + } + + // Use it in a parser. + ReaderParser p = JsonParser + .create() + .beanDictionary(MyBeanDictionaryMap.class) + .build(); +

    +

    Subclasses must implement a public no-arg constructor so that it can be instantiated by the bean context code.

    @@ -171,10 +200,14 @@ extends Constructors  -Constructor and Description +Modifier +Constructor and Description -BeanDictionaryMap()  +protected +BeanDictionaryMap() +
    Constructor.
    +
  • @@ -271,7 +304,8 @@ extends
  • BeanDictionaryMap

    -
    public BeanDictionaryMap()
    +
    protected BeanDictionaryMap()
    +
    Constructor.
  • @@ -288,7 +322,7 @@ extends
  • addClass

    -
    protected BeanDictionaryMap addClass(String typeName,
    +
    protected BeanDictionaryMap addClass(String typeName,
                                          Class<?> c)
    Add a dictionary name mapping for the specified class.
    @@ -306,7 +340,7 @@ extends
  • addMapClass

    -
    protected BeanDictionaryMap addMapClass(String typeName,
    +
    protected BeanDictionaryMap addMapClass(String typeName,
                                             Class<? extends Map> mapClass,
                                             Object keyClass,
                                             Object valueClass)
    @@ -328,7 +362,7 @@ extends
  • addCollectionClass

    -
    protected BeanDictionaryMap addCollectionClass(String typeName,
    +
    protected BeanDictionaryMap addCollectionClass(String typeName,
                                                    Class<? extends Collection> collectionClass,
                                                    Object entryClass)
    Add a dictionary name mapping for the specified collection class with the specified entry class.
    http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMap.html b/content/site/apidocs/org/apache/juneau/BeanMap.html index 3b5cd1e..c98f2d2 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMap.html +++ b/content/site/apidocs/org/apache/juneau/BeanMap.html @@ -125,21 +125,22 @@ var activeTableTab = "activeTableTab";


  • -
    public class BeanMap<T>
    +
    public class BeanMap<T>
     extends AbstractMap<String,Object>
     implements Delegate<T>
    Java bean wrapper class. - -
    Description:
    - + + +
    Description
    + A wrapper that wraps Java bean instances inside of a Map interface that allows properties on the wrapped object can be accessed using the get() and put() methods. - +

    Use the BeanContext class to create instances of this class. - +

    Bean property order
    - + The order of the properties returned by the keySet() and entrySet() methods are as follows:
      @@ -150,12 +151,12 @@ implements @Bean annotation is not specified on the class, then the order is the same as that returned by the BeanInfo class (i.e. ordered by definition in the class).
    - +


    The order can also be overridden through the use of a BeanFilter. - +

    POJO swaps
    - + If PojoSwaps are defined on the class types of the properties of this bean or the bean properties themselves, the get(Object) and put(String, Object) methods will automatically transform the property value to and from the serialized form.
    @@ -423,7 +424,7 @@ implements
  • bean

    -
    protected T bean
    +
    protected T bean
    The wrapped object.
  • @@ -433,7 +434,7 @@ implements
  • propertyCache

    -
    protected Map<String,Object> propertyCache
    +
    protected Map<String,Object> propertyCache
    Temporary holding cache for beans with read-only properties. Normally null.
  • @@ -443,7 +444,7 @@ implements
  • arrayPropertyCache

    -
    protected Map<String,List<?>> arrayPropertyCache
    +
    protected Map<String,List<?>> arrayPropertyCache
    Temporary holding cache for bean properties of array types when the add() method is being used.
  • @@ -453,7 +454,7 @@ implements
  • meta

    -
    protected BeanMeta<T> meta
    +
    protected BeanMeta<T> meta
    The BeanMeta associated with the class of the object.
  • @@ -473,7 +474,7 @@ implements
  • BeanMap

    -
    protected BeanMap(BeanSession session,
    +
    protected BeanMap(BeanSession session,
                       T bean,
                       BeanMeta<T> meta)
    Instance of this class are instantiated through the BeanContext class.
    @@ -499,7 +500,7 @@ implements
  • getMeta

    -
    public BeanMeta<TgetMeta()
    +
    public BeanMeta<TgetMeta()
    Returns the metadata associated with this bean map.
    Returns:
    @@ -513,7 +514,7 @@ implements
  • getBeanSession

    -
    public final BeanSession getBeanSession()
    +
    public final BeanSession getBeanSession()
    Returns the bean session that created this bean map.
    Returns:
    @@ -527,12 +528,12 @@ implements
  • getBean

    -
    public T getBean()
    +
    public T getBean()
    Returns the wrapped bean object. - +

    Triggers bean creation if bean has read-only properties set through a constructor defined by the - BeanConstructor annotation.

    + @BeanConstructor annotation.
    Returns:
    The inner bean object.
    @@ -545,13 +546,13 @@ implements
  • getBean

    -
    public T getBean(boolean create)
    +
    public T getBean(boolean create)
    Returns the wrapped bean object. - +

    If create is false, then this method may return null if the bean has read-only - properties set through a constructor defined by the BeanConstructor annotation. - + properties set through a constructor defined by the @BeanConstructor annotation. +

    This method does NOT always return the bean in it's final state. Array properties temporary stored as ArrayLists are not finalized until the getBean() method is called.

    @@ -569,10 +570,10 @@ implements
  • put

    -
    public Object put(String property,
    +
    public Object put(String property,
                       Object value)
    Sets a property on the bean. - +

    If there is a PojoSwap associated with this bean property or bean property type class, then you must pass in a transformed value. @@ -580,18 +581,18 @@ implements DateSwap.ISO8601DT swap associated with it through the @Swap.value() annotation, the value being passed in must be a String containing an ISO8601 date-time string value. - +

    Example:

    // Construct a bean with a 'birthDate' Date field Person p = new Person(); - + // Create a bean context and add the ISO8601 date-time swap BeanContext beanContext = new BeanContext().pojoSwaps(DateSwap.ISO8601DT.class); - + // Wrap our bean in a bean map BeanMap<Person> b = beanContext.forBean(p); - + // Set the field myBeanMap.put("birthDate", "'1901-03-03T04:05:06-5000'");

    @@ -623,16 +624,16 @@ implements
  • add

    -
    public void add(String property,
    +
    public void add(String property,
                     Object value)
    Add a value to a collection or array property. - +

    As a general rule, adding to arrays is not recommended since the array must be recreate each time this method is called.

    Parameters:
    -
    property - Property name or child-element name (if Xml.childName() is specified).
    +
    property - Property name or child-element name (if @Xml.childName() is specified).
    value - The value to add to the collection or array.
  • @@ -643,9 +644,9 @@ implements
  • get

    -
    public Object get(Object property)
    +
    public Object get(Object property)
    Gets a property on the bean. - +

    If there is a PojoSwap associated with this bean property or bean property type class, then this method will return the transformed value. @@ -653,19 +654,19 @@ implements DateSwap.ISO8601DT swap associated with it through the @Swap.value() annotation, this method will return a String containing an ISO8601 date-time string value. - +

    Example:

    // Construct a bean with a 'birthDate' Date field Person p = new Person(); p.setBirthDate(new Date(1, 2, 3, 4, 5, 6)); - + // Create a bean context and add the ISO8601 date-time swap BeanContext beanContext = new BeanContext().pojoSwaps(DateSwap.ISO8601DT.class); - + // Wrap our bean in a bean map BeanMap<Person> b = beanContext.forBean(p); - + // Get the field as a string (i.e. "'1901-03-03T04:05:06-5000'") String s = myBeanMap.get("birthDate");

    @@ -692,7 +693,7 @@ implements
  • getRaw

    -
    public Object getRaw(Object property)
    +
    public Object getRaw(Object property)
    Same as get(Object) except bypasses the POJO filter associated with the bean property or bean filter associated with the bean class.
    @@ -709,10 +710,10 @@ implements
  • load

    -
    public BeanMap<Tload(String input)
    +
    public BeanMap<Tload(String input)
                     throws ParseException
    Convenience method for setting multiple property values by passing in JSON text. - +
    Example:

    aPersonBean.load("{name:'John Smith',age:21}") @@ -733,7 +734,7 @@ implements

  • load

    -
    public BeanMap<Tload(Reader r,
    +
    public BeanMap<Tload(Reader r,
                            ReaderParser p)
                     throws ParseException,
                            IOException
    @@ -756,9 +757,9 @@ implements
  • load

    -
    public BeanMap<Tload(Map entries)
    +
    public BeanMap<Tload(Map entries)
    Convenience method for loading this map with the contents of the specified map. - +

    Identical to AbstractMap.putAll(Map) except as a fluent-style method.

    @@ -775,9 +776,9 @@ implements
  • keySet

    -
    public Set<StringkeySet()
    +
    public Set<StringkeySet()
    Returns the names of all properties associated with the bean. - +

    The returned set is unmodifiable.

    @@ -794,13 +795,13 @@ implements
  • getProperty

    -
    public BeanMapEntry getProperty(String propertyName)
    +
    public BeanMapEntry getProperty(String propertyName)
    Returns the specified property on this bean map. - +

    Allows you to get and set an individual property on a bean without having a handle to the bean itself by using the BeanMapEntry.getValue() and BeanMapEntry.setValue(Object) methods. - +

    This method can also be used to get metadata on a property by calling the BeanMapEntry.getMeta() method.

    @@ -817,7 +818,7 @@ implements
  • getPropertyMeta

    -
    public BeanPropertyMeta getPropertyMeta(String propertyName)
    +
    public BeanPropertyMeta getPropertyMeta(String propertyName)
    Returns the metadata on the specified property.
    Parameters:
    @@ -833,7 +834,7 @@ implements
  • getClassMeta

    -
    public ClassMeta<TgetClassMeta()
    +
    public ClassMeta<TgetClassMeta()
    Returns the ClassMeta of the wrapped bean.
    Specified by:
    @@ -849,10 +850,10 @@ implements
  • getValues

    -
    public List<BeanPropertyValuegetValues(boolean ignoreNulls,
    +
    public List<BeanPropertyValuegetValues(boolean ignoreNulls,
                                              BeanPropertyValue... prependVals)
    Invokes all the getters on this bean and return the values as a list of BeanPropertyValue objects. - +

    This allows a snapshot of all values to be grabbed from a bean in one call.

    @@ -871,7 +872,7 @@ implements
  • resolveVars

    -
    public String resolveVars(String s)
    +
    public String resolveVars(String s)
    Given a string containing variables of the form "{property}", replaces those variables with property values in this bean.
    @@ -888,7 +889,7 @@ implements
  • getProperties

    -
    protected Collection<BeanPropertyMetagetProperties()
    +
    protected Collection<BeanPropertyMetagetProperties()
    Returns a simple collection of properties for this bean map.
    Returns:
    @@ -902,7 +903,7 @@ implements
  • entrySet

    -
    public Set<Map.Entry<String,Object>> entrySet()
    +
    public Set<Map.Entry<String,Object>> entrySet()
    Returns all the properties associated with the bean.
    Specified by:
    http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanMapEntry.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMapEntry.html b/content/site/apidocs/org/apache/juneau/BeanMapEntry.html index e397669..876a21b 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMapEntry.html +++ b/content/site/apidocs/org/apache/juneau/BeanMapEntry.html @@ -116,24 +116,24 @@ var activeTableTab = "activeTableTab"; extends Object implements Map.Entry<String,Object>
  • Represents a single entry in a bean map. - +

    This class can be used to get and set property values on a bean, or to get metadata on a property. - +

    Example:

    // Construct a new bean Person p = new Person(); - + // Wrap it in a bean map BeanMap<Person> b = BeanContext.DEFAULT.forBean(p); - + // Get a reference to the birthDate property BeanMapEntry birthDate = b.getProperty("birthDate"); - + // Set the property value birthDate.setValue(new Date(1, 2, 3, 4, 5, 6)); - + // Or if the DateSwap.DEFAULT_ISO8601DT is registered with the bean context, set a transformed value birthDate.setValue("'1901-03-03T04:05:06-5000'");

    @@ -286,7 +286,7 @@ implements Object getValue()
  • Returns the value of this property. - +

    If there is a PojoSwap associated with this bean property or bean property type class, then this method will return the transformed value. @@ -308,14 +308,14 @@ implements Object setValue(Object value)

  • Sets the value of this property. - +

    If the property is an array of type X, then the value can be a Collection<X> or X[] or Object[]. - +

    If the property is a bean type X, then the value can either be an X or a Map. - +

    If there is a PojoSwap associated with this bean property or bean property type class, then you must pass in a transformed value. http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanMeta.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMeta.html b/content/site/apidocs/org/apache/juneau/BeanMeta.html index c8030af..cabd408 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMeta.html +++ b/content/site/apidocs/org/apache/juneau/BeanMeta.html @@ -116,19 +116,20 @@ var activeTableTab = "activeTableTab";



  • -
    public class BeanMeta<T>
    +
    public class BeanMeta<T>
     extends Object
    Encapsulates all access to the properties of a bean class (like a souped-up BeanInfo). - -
    Description:
    - + + +
    Description
    + Uses introspection to find all the properties associated with this class. If the @Bean annotation is present on the class, or the class has a BeanFilter registered with it in the bean context, then that information is used to determine the properties on the class. Otherwise, the BeanInfo functionality in Java is used to determine the properties on the class. - +
    Bean property ordering
    - + The order of the properties are as follows:
    • @@ -142,7 +143,7 @@ extends @BeanProperty annotation defined on them.
    - +

    The order can also be overridden through the use of an BeanFilter.

  • @@ -271,7 +272,7 @@ extends String getDictionaryName() -
    Returns the dictionary name for this bean as defined through the Bean.typeName() annotation.
    +
    Returns the dictionary name for this bean as defined through the @Bean.typeName() annotation.
    @@ -343,7 +344,7 @@ extends
  • classMeta

    -
    protected final ClassMeta<T> classMeta
    +
    protected final ClassMeta<T> classMeta
    The target class type that this meta object describes.
  • @@ -353,7 +354,7 @@ extends
  • c

    -
    protected final Class<T> c
    +
    protected final Class<T> c
    The target class that this meta object describes.
  • @@ -363,7 +364,7 @@ extends
  • properties

    -
    protected final Map<String,BeanPropertyMeta> properties
    +
    protected final Map<String,BeanPropertyMeta> properties
    The properties on the target class.
  • @@ -373,7 +374,7 @@ extends
  • getterProps

    -
    protected final Map<Method,String> getterProps
    +
    protected final Map<Method,String> getterProps
    The getter properties on the target class.
  • @@ -383,7 +384,7 @@ extends
  • setterProps

    -
    protected final Map<Method,String> setterProps
    +
    protected final Map<Method,String> setterProps
    The setter properties on the target class.
  • @@ -393,7 +394,7 @@ extends
  • ctx

    -
    protected final BeanContext ctx
    +
    protected final BeanContext ctx
    The bean context that created this metadata object.
  • @@ -403,7 +404,7 @@ extends
  • beanFilter

    -
    protected final BeanFilter beanFilter
    +
    protected final BeanFilter beanFilter
    Optional bean filter associated with the target class.
  • @@ -413,7 +414,7 @@ extends
  • typeVarImpls

    -
    protected final Map<Class<?>,Class<?>[]> typeVarImpls
    +
    protected final Map<Class<?>,Class<?>[]> typeVarImpls
    Type variables implemented by this bean.
  • @@ -423,7 +424,7 @@ extends
  • constructor

    -
    protected final Constructor<T> constructor
    +
    protected final Constructor<T> constructor
    The constructor for this bean.
  • @@ -433,7 +434,7 @@ extends
  • constructorArgs

    -
    protected final String[] constructorArgs
    +
    protected final String[] constructorArgs
    For beans with constructors with BeanConstructor annotation, this is the list of constructor arg properties.
  • @@ -451,7 +452,7 @@ extends
  • BeanMeta

    -
    protected BeanMeta(ClassMeta<T> classMeta,
    +
    protected BeanMeta(ClassMeta<T> classMeta,
                        BeanContext ctx,
                        BeanFilter beanFilter,
                        String[] pNames)
    @@ -480,7 +481,7 @@ extends

    getClassMeta

    @BeanIgnore
    -public final ClassMeta<TgetClassMeta()
    +public final ClassMeta<TgetClassMeta()
    Returns the ClassMeta of this bean.
    Returns:
    @@ -494,8 +495,8 @@ public final 
  • getDictionaryName

    -
    public final String getDictionaryName()
    -
    Returns the dictionary name for this bean as defined through the Bean.typeName() annotation.
    +
    public final String getDictionaryName()
    +
    Returns the dictionary name for this bean as defined through the @Bean.typeName() annotation.
    Returns:
    The dictionary name for this bean, or null if it has no dictionary name defined.
    @@ -508,7 +509,7 @@ public final 
  • getTypeProperty

    -
    public final BeanPropertyMeta getTypeProperty()
    +
    public final BeanPropertyMeta getTypeProperty()
    Returns a mock bean property that resolves to the name "_type" and whose value always resolves to the dictionary name of the bean.
    @@ -523,7 +524,7 @@ public final 
  • getPropertyMetas

    -
    public Collection<BeanPropertyMetagetPropertyMetas()
    +
    public Collection<BeanPropertyMetagetPropertyMetas()
    Returns the metadata on all properties associated with this bean.
    Returns:
    @@ -537,7 +538,7 @@ public final 
  • getPropertyMetas

    -
    public Collection<BeanPropertyMetagetPropertyMetas(String... pNames)
    +
    public Collection<BeanPropertyMetagetPropertyMetas(String... pNames)
    Returns the metadata on the specified list of properties.
    Parameters:
    @@ -553,7 +554,7 @@ public final 
  • getExtendedMeta

    -
    public <M extends BeanMetaExtended> M getExtendedMeta(Class<M> metaDataClass)
    +
    public <M extends BeanMetaExtended> M getExtendedMeta(Class<M> metaDataClass)
    Returns the language-specified extended metadata on this bean class.
    Parameters:
    @@ -569,7 +570,7 @@ public final 
  • getPropertyMeta

    -
    public BeanPropertyMeta getPropertyMeta(String name)
    +
    public BeanPropertyMeta getPropertyMeta(String name)
    Returns metadata about the specified property.
    Parameters:
    @@ -585,7 +586,7 @@ public final 
  • newBean

    -
    protected T newBean(Object outer)
    +
    protected T newBean(Object outer)
                  throws IllegalArgumentException,
                         InstantiationException,
                         IllegalAccessException,
    @@ -610,7 +611,7 @@ public final 
     
  • toString

    -
    public String toString()
    +
    public String toString()
    Overrides:
    toString in class Object
    http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html b/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html index 5c52e6d..1af4d2b 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html +++ b/content/site/apidocs/org/apache/juneau/BeanMetaExtended.html @@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
    public class BeanMetaExtended
     extends Object
    Defines extended language-specific metadata associated with a bean. - +

    Serializers and parsers can implement their own language-specific metadata on a bean and retrieve the metadata using the BeanMeta.getExtendedMeta(Class) method.

    http://git-wip-us.apache.org/repos/asf/juneau-website/blob/c319662c/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html b/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html index 901cf43..8098609 100644 --- a/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html +++ b/content/site/apidocs/org/apache/juneau/BeanMetaFiltered.html @@ -111,10 +111,9 @@


    -
    public final class BeanMetaFiltered<T>
    +
    public final class BeanMetaFiltered<T>
     extends BeanMeta<T>
    -
    Same as BeanMeta, except the list of bean properties are limited by a BeanProperty.properties() - annotation.
    +
    Same as BeanMeta, except the list of bean properties are limited by a @BeanProperty.properties() annotation.
  • @@ -202,7 +201,7 @@ extends
  • BeanMetaFiltered

    -
    public BeanMetaFiltered(BeanMeta<T> innerMeta,
    +
    public BeanMetaFiltered(BeanMeta<T> innerMeta,
                             String[] pNames)
    Wrapper constructor.
    @@ -218,7 +217,7 @@ extends
  • BeanMetaFiltered

    -
    public BeanMetaFiltered(BeanMeta<T> innerMeta,
    +
    public BeanMetaFiltered(BeanMeta<T> innerMeta,
                             Collection<String> pNames)
    Wrapper constructor.