Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EE80A200C48 for ; Fri, 17 Mar 2017 03:21:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ED149160B94; Fri, 17 Mar 2017 02:21:29 +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 C0060160B8B for ; Fri, 17 Mar 2017 03:21:27 +0100 (CET) Received: (qmail 1135 invoked by uid 500); 17 Mar 2017 02:21:27 -0000 Mailing-List: contact commits-help@juneau.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@juneau.incubator.apache.org Delivered-To: mailing list commits@juneau.incubator.apache.org Received: (qmail 1087 invoked by uid 99); 17 Mar 2017 02:21:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 02:21:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1023C18F168 for ; Fri, 17 Mar 2017 02:21:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.369 X-Spam-Level: X-Spam-Status: No, score=-4.369 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id X6iNNQwFMJic for ; Fri, 17 Mar 2017 02:21:12 +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 3CEF460CDA for ; Fri, 17 Mar 2017 02:21:05 +0000 (UTC) Received: (qmail 93070 invoked by uid 99); 17 Mar 2017 02:14:24 -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; Fri, 17 Mar 2017 02:14:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BA07FDFF72; Fri, 17 Mar 2017 02:14:24 +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: Fri, 17 Mar 2017 02:14:52 -0000 Message-Id: <51540f768aca4a43a5e855d76556efa6@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [29/51] [partial] incubator-juneau-website git commit: New files. archived-at: Fri, 17 Mar 2017 02:21:30 -0000 http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/4752869d/content/site/apidocs/org/apache/juneau/msgpack/MsgPackParserBuilder.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/msgpack/MsgPackParserBuilder.html b/content/site/apidocs/org/apache/juneau/msgpack/MsgPackParserBuilder.html new file mode 100644 index 0000000..75dfa8e --- /dev/null +++ b/content/site/apidocs/org/apache/juneau/msgpack/MsgPackParserBuilder.html @@ -0,0 +1,2897 @@ + + + + + + +MsgPackParserBuilder (Apache Juneau (incubating) 6.1.1-incubating-SNAPSHOT) + + + + + + + + + + + +
+
org.apache.juneau.msgpack
+

Class MsgPackParserBuilder

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + + + + + +
        +
      • +

        MsgPackParserBuilder

        +
        public MsgPackParserBuilder(PropertyStore propertyStore)
        +
        Constructor.
        +
        +
        Parameters:
        +
        propertyStore - The initial configuration settings for this builder.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        trimStrings

        +
        public MsgPackParserBuilder trimStrings(boolean value)
        +
        Description copied from class: ParserBuilder
        +
        Configuration property: Trim parsed strings. +

        +

          +
        • Name: "Parser.trimStrings" +
        • Data type: Boolean +
        • Default: false +
        • Session-overridable: true +
        +

        + If true, string values will be trimmed of whitespace using String.trim() before being added to the POJO. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(PARSER_trimStrings, value). +
        +
        +
        Overrides:
        +
        trimStrings in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        ParserContext.PARSER_trimStrings
        +
        +
      • +
      + + + +
        +
      • +

        strict

        +
        public MsgPackParserBuilder strict(boolean value)
        +
        Description copied from class: ParserBuilder
        +
        Configuration property: Strict mode. +

        +

          +
        • Name: "Parser.strict" +
        • Data type: Boolean +
        • Default: false +
        • Session-overridable: true +
        +

        + If true, strict mode for the parser is enabled. +

        + Strict mode can mean different things for different parsers. +

        + + + + + + + + + + +
        Parser classStrict behavior
        All reader-based parsers + When enabled, throws ParseExceptions on malformed charset input. + Otherwise, malformed input is ignored. +
        JsonParser + When enabled, throws exceptions on the following invalid JSON syntax: +
          +
        • Unquoted attributes. +
        • Missing attribute values. +
        • Concatenated strings. +
        • Javascript comments. +
        • Numbers and booleans when Strings are expected. +
        • Numbers valid in Java but not JSON (e.g. octal notation, etc...) +
        +
        +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(PARSER_strict,value). +
        +
        +
        Overrides:
        +
        strict in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        ParserContext.PARSER_strict
        +
        +
      • +
      + + + + + + + +
        +
      • +

        inputStreamCharset

        +
        public MsgPackParserBuilder inputStreamCharset(String value)
        +
        Description copied from class: ParserBuilder
        +
        Configuration property: Input stream charset. +

        +

          +
        • Name: "Parser.inputStreamCharset" +
        • Data type: String +
        • Default: "UTF-8" +
        • Session-overridable: true +
        +

        + The character set to use for converting InputStreams and byte arrays to readers. +

        + Used when passing in input streams and byte arrays to Parser.parse(Object, Class). +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(PARSER_inputStreamCharset, value). +
        +
        +
        Overrides:
        +
        inputStreamCharset in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        ParserContext.PARSER_inputStreamCharset
        +
        +
      • +
      + + + +
        +
      • +

        fileCharset

        +
        public MsgPackParserBuilder fileCharset(String value)
        +
        Description copied from class: ParserBuilder
        +
        Configuration property: File charset. +

        +

          +
        • Name: "Parser.fileCharset" +
        • Data type: String +
        • Default: "default" +
        • Session-overridable: true +
        +

        + The character set to use for reading Files from the file system. +

        + Used when passing in files to Parser.parse(Object, Class). +

        + "default" can be used to indicate the JVM default file system charset. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(PARSER_fileCharset,value). +
        +
        +
        Overrides:
        +
        fileCharset in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        ParserContext.PARSER_fileCharset
        +
        +
      • +
      + + + +
        +
      • +

        beansRequireDefaultConstructor

        +
        public MsgPackParserBuilder beansRequireDefaultConstructor(boolean value)
        +
        Description copied from class: CoreObjectBuilder
        +
        Configuration property: Beans require no-arg constructors. +

        +

          +
        • Name: "BeanContext.beansRequireDefaultConstructor" +
        • Data type: Boolean +
        • Default: false +
        • Session-overridable: false +
        +

        + If true, a Java class must implement a default no-arg constructor to be considered a bean. + Otherwise, the bean will be serialized as a string using the Object.toString() method. +

        + The @Bean annotation can be used on a class to override this setting when true. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(BEAN_beansRequireDefaultConstructor, value). +
        +
        +
        Overrides:
        +
        beansRequireDefaultConstructor in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        BeanContext.BEAN_beansRequireDefaultConstructor
        +
        +
      • +
      + + + + + + + +
        +
      • +

        beansRequireSettersForGetters

        +
        public MsgPackParserBuilder beansRequireSettersForGetters(boolean value)
        +
        Description copied from class: CoreObjectBuilder
        +
        Configuration property: Beans require setters for getters. +

        +

          +
        • Name: "BeanContext.beansRequireSettersForGetters" +
        • Data type: Boolean +
        • Default: false +
        • Session-overridable: false +
        +

        + If true, only getters that have equivalent setters will be considered as properties on a bean. + Otherwise, they will be ignored. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(BEAN_beansRequireSettersForGetters, value). +
        +
        +
        Overrides:
        +
        beansRequireSettersForGetters in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        BeanContext.BEAN_beansRequireSettersForGetters
        +
        +
      • +
      + + + +
        +
      • +

        beansRequireSomeProperties

        +
        public MsgPackParserBuilder beansRequireSomeProperties(boolean value)
        +
        Description copied from class: CoreObjectBuilder
        +
        Configuration property: Beans require at least one property. +

        +

          +
        • Name: "BeanContext.beansRequireSomeProperties" +
        • Data type: Boolean +
        • Default: true +
        • Session-overridable: false +
        +

        + If true, then a Java class must contain at least 1 property to be considered a bean. + Otherwise, the bean will be serialized as a string using the Object.toString() method. +

        + The @Bean annotation can be used on a class to override this setting when true. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(BEAN_beansRequireSomeProperties, value). +
        +
        +
        Overrides:
        +
        beansRequireSomeProperties in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        BeanContext.BEAN_beansRequireSomeProperties
        +
        +
      • +
      + + + +
        +
      • +

        beanMapPutReturnsOldValue

        +
        public MsgPackParserBuilder beanMapPutReturnsOldValue(boolean value)
        +
        Description copied from class: CoreObjectBuilder
        +
        Configuration property: BeanMap.put() method will return old property value. +

        +

          +
        • Name: "BeanContext.beanMapPutReturnsOldValue" +
        • Data type: Boolean +
        • Default: false +
        • Session-overridable: false +
        +

        + If true, then the BeanMap.put() method will return old property values. + Otherwise, it returns null. +

        + Disabled by default because it introduces a slight performance penalty. +

        +

        Notes:
        +
          +
        • This is equivalent to calling property(BEAN_beanMapPutReturnsOldValue, value). +
        +
        +
        Overrides:
        +
        beanMapPutReturnsOldValue in class ParserBuilder
        +
        Parameters:
        +
        value - The new value for this property.
        +
        Returns:
        +
        This object (for method chaining).
        +
        See Also:
        +
        BeanContext.BEAN_beanMapPutReturnsOldValue
        +
        +
      • +
      + + + + + + + +