Examples of ValueParser


Examples of org.apache.velocity.tools.generic.ValueParser

        }
    }

    public void configure(Map params)
    {
        ValueParser parser = new ValueParser(params);
        int depth = parser.getInt(KEY_PARSE_DEPTH, DEFAULT_PARSE_DEPTH);
        setParseDepth(depth);
    }
View Full Code Here

Examples of org.apache.velocity.tools.generic.ValueParser

     * @param subkey subkey to search for
     * @return the map of found values
     */
    @Override
    protected ValueParser getSubkey(String subkey) {
        ValueParser submap = super.getSubkey(subkey);
        if (submap != null)
        {
            /* expand singleton arrays to reflect request.getParameter behaviour */
            submap = new ValueParser(expandSingletonArrays(submap));
        }
        return submap;
    }
View Full Code Here

Examples of org.elasticsearch.search.aggregations.support.format.ValueParser

        this.formatter = format != null ? format.formatter() : null;
        this.keyed = keyed;
        this.rangeFactory = rangeFactory;
        this.ranges = ranges.toArray(new Range[ranges.size()]);

        ValueParser parser = format != null ? format.parser() : ValueParser.RAW;
        for (int i = 0; i < this.ranges.length; i++) {
            this.ranges[i].process(parser, context.searchContext());
        }
        sortRanges(this.ranges);
View Full Code Here

Examples of org.elasticsearch.search.aggregations.support.format.ValueParser

                        InternalRange.Factory factory,
                        Map<String, Object> metaData) {

            super(name, context, parent, metaData);
            this.ranges = ranges;
            ValueParser parser = format != null ? format.parser() : ValueParser.RAW;
            for (Range range : this.ranges) {
                range.process(parser, context.searchContext());
            }
            this.keyed = keyed;
            this.formatter = format != null ? format.formatter() : null;
View Full Code Here

Examples of org.simpleframework.http.parse.ValueParser

    * @param list this is the list of individual header values
    *
    * @return ordered list of tokens extracted from the header(s)
    */
   public List<String> getValues(List<String> list) {
      return new ValueParser(list).list();
   }
View Full Code Here

Examples of org.simpleframework.http.parse.ValueParser

    * @param list this is the list of individual header values
    *
    * @return ordered list of tokens extracted from the header(s)
    */
   public List<String> getValues(List<String> list) {
      return new ValueParser(list).list();
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.