亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? resolver.java

?? 這是一個有關common beanutils 的源碼
?? JAVA
字號:
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.beanutils.expression;

/**
 * Property Name Expression Resolver.
 * <p>
 * Methods such as PropertyUtilsBean's <code>setNestedProperty()</code> method
 * use a <code>Resolver</code> to process a <i>property name</i>
 * expression and resolve <i>nested</i>, <i>indexed</i> and <i>mapped</i>
 * property names. The following code provides an example usage
 * demonstrating all the methods:
 *
 * <pre>
 *      // Iterate through a nested property expression
 *      while (resolver.hasNested(name)) {
 *
 *          // isolate a single property from a nested expresion
 *          String next = resolver.next(name);
 *
 *          // Process...
 *          String property = resolver.getProperty(next);
 *          if (resolver.isIndexed(next)) {
 *
 *              int index = resolver.getIndex(next);
 *              bean = getIndexedProperty(bean, property, index);
 *
 *          } else if (resolver.isMapped(next)) {
 *
 *              String key = resolver.getKey(next);
 *              bean = getMappedProperty(bean, property, key);
 *
 *          } else {
 *
 *              bean = getSimpleProperty(bean, property);
 *
 *          }
 *
 *          // remove the processed property from the expression
 *          name = resolver.remove(name);
 *      }
 * </pre>
 *
 * In order to create an implementation, it is important to understand how
 * BeanUtils/PropertyUtils uses the <code>resolver</code>. The following are
 * the main methods that use it:
 * <ul>
 *   <li>{@link org.apache.commons.beanutils.PropertyUtilsBean}</li>
 *   <ul>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#getIndexedProperty(Object, String)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#getMappedProperty(Object, String)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#getNestedProperty(Object, String)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#getPropertyDescriptor(Object, String)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#getSimpleProperty(Object, String)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#setIndexedProperty(Object, String, Object)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#setMappedProperty(Object, String, Object)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#setNestedProperty(Object, String, Object)}</li>
 *       <li>{@link org.apache.commons.beanutils.PropertyUtilsBean#setSimpleProperty(Object, String, Object)}</li>
 *   </ul>
 *   <li>{@link org.apache.commons.beanutils.BeanUtilsBean}</li>
 *   <ul>
 *       <li>{@link org.apache.commons.beanutils.BeanUtilsBean#copyProperty(Object, String, Object)}</li>
 *       <li>{@link org.apache.commons.beanutils.BeanUtilsBean#setProperty(Object, String, Object)}</li>
 *   </ul>
 *   <li>{@link org.apache.commons.beanutils.locale.LocaleBeanUtilsBean}</li>
 *   <ul>
 *       <li>{@link org.apache.commons.beanutils.locale.LocaleBeanUtilsBean#setProperty(Object,
 *        String, Object, String)}</li>
 *   </ul>
 * </ul>
 *
 * @version $Revision: 555845 $ $Date: 2007-07-13 03:52:05 +0100 (Fri, 13 Jul 2007) $
 * @see org.apache.commons.beanutils.PropertyUtilsBean#setResolver(Resolver)
 * @since 1.8.0
 */
public interface Resolver {

    /**
     * Extract the index value from the property expression or -1.
     *
     * @param expression The property expression
     * @return The index value or -1 if the property is not indexed
     * @throws IllegalArgumentException If the indexed property is illegally
     * formed or has an invalid (non-numeric) value
     */
    int getIndex(String expression);

    /**
     * Extract the map key from the property expression or <code>null</code>.
     *
     * @param expression The property expression
     * @return The index value
     * @throws IllegalArgumentException If the mapped property is illegally formed
     */
    String getKey(String expression);

    /**
     * Return the property name from the property expression.
     *
     * @param expression The property expression
     * @return The property name
     */
    String getProperty(String expression);

    /**
     * Indicates whether or not the expression
     * contains nested property expressions or not.
     *
     * @param expression The property expression
     * @return The next property expression
     */
    boolean hasNested(String expression);

    /**
     * Indicate whether the expression is for an indexed property or not.
     *
     * @param expression The property expression
     * @return <code>true</code> if the expresion is indexed,
     *  otherwise <code>false</code>
     */
    boolean isIndexed(String expression);

    /**
     * Indicate whether the expression is for a mapped property or not.
     *
     * @param expression The property expression
     * @return <code>true</code> if the expresion is mapped,
     *  otherwise <code>false</code>
     */
    boolean isMapped(String expression);

    /**
     * Extract the next property expression from the
     * current expression.
     *
     * @param expression The property expression
     * @return The next property expression
     */
    String next(String expression);

    /**
     * Remove the last property expresson from the
     * current expression.
     *
     * @param expression The property expression
     * @return The new expression value, with first property
     * expression removed - null if there are no more expressions
     */
    String remove(String expression);

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品免费在线| 自拍av一区二区三区| 色妹子一区二区| 成人性生交大合| 成人免费视频网站在线观看| 国产一区二区美女诱惑| 精品一区二区免费| 国产精品一区专区| aaa国产一区| 欧美日韩精品欧美日韩精品一综合| 91福利在线播放| 日韩欧美成人一区二区| 久久影院午夜片一区| 成人免费在线视频| 美腿丝袜亚洲一区| 成人免费毛片aaaaa**| 欧美日韩一区视频| 久久久精品免费观看| 17c精品麻豆一区二区免费| 亚洲电影激情视频网站| 国内精品久久久久影院一蜜桃| 成人v精品蜜桃久久一区| 欧美日韩亚洲不卡| 久久久无码精品亚洲日韩按摩| 亚洲精品美国一| 国产激情视频一区二区三区欧美| 色欧美日韩亚洲| 亚洲欧洲三级电影| 国产老妇另类xxxxx| 欧美一区二区在线播放| 国产精品国产三级国产a| 韩国欧美国产一区| 国产福利一区二区三区视频在线| 老司机午夜精品| 日韩一区二区三区电影在线观看 | 国产精品美女久久久久久久久久久| 亚洲欧洲日韩一区二区三区| 黑人精品欧美一区二区蜜桃| 色婷婷av一区| 亚洲乱码中文字幕| 国产激情一区二区三区桃花岛亚洲| 欧美日韩一卡二卡| 精品视频免费在线| 精品国产乱码久久久久久夜甘婷婷 | 韩国女主播一区二区三区| 欧美日韩国产不卡| 免费成人在线影院| 久久这里只精品最新地址| 国产一区二区在线电影| 国产婷婷精品av在线| 成人黄色小视频在线观看| 亚洲视频一二三| 欧美日韩精品系列| 国产一区二区免费看| 中文字幕精品综合| 日本道色综合久久| 亚洲va欧美va天堂v国产综合| 91精品国产综合久久久久久久久久 | 亚洲成在线观看| 99久久久久久99| 蜜臀av亚洲一区中文字幕| 亚洲精品一区在线观看| 高清beeg欧美| 亚洲成人777| 国产欧美一区二区精品秋霞影院| fc2成人免费人成在线观看播放| 亚洲主播在线播放| 久久九九久久九九| 欧美日韩一级视频| 成人夜色视频网站在线观看| 亚洲午夜久久久| 国产亚洲va综合人人澡精品| 欧美日韩一区二区在线视频| 国产一区啦啦啦在线观看| 亚洲成人精品影院| 中文字幕一区二区三区四区| 色综合久久久久久久久久久| 久久精品国产网站| 偷窥国产亚洲免费视频| 夜色激情一区二区| 中文字幕日韩一区| 国产精品电影院| 国产免费观看久久| 亚洲国产高清aⅴ视频| 久久丝袜美腿综合| 久久久久9999亚洲精品| 久久免费视频色| 日韩亚洲欧美在线观看| 欧美一级欧美三级| 91精品国产欧美一区二区成人| 欧美猛男男办公室激情| 欧美色大人视频| 91麻豆精品国产91久久久资源速度 | 看电影不卡的网站| 麻豆91免费观看| 国产一区二区免费看| 成人免费视频国产在线观看| 色综合 综合色| 欧美日韩精品欧美日韩精品| 欧美精品久久99久久在免费线 | 日韩二区在线观看| 国产麻豆9l精品三级站| 91免费版pro下载短视频| 欧美日韩一区二区在线视频| 欧美草草影院在线视频| 国产精品久久久久久久久免费樱桃| 亚洲日本一区二区三区| 日韩成人伦理电影在线观看| 国产老妇另类xxxxx| 在线观看国产精品网站| 亚洲精品一区二区三区精华液 | 成人丝袜视频网| 日韩欧美的一区| 亚洲一区在线观看网站| 国产精品一区免费视频| 欧美一二三区精品| 亚洲久本草在线中文字幕| 成人激情黄色小说| 精品欧美乱码久久久久久| 一区二区在线观看视频在线观看| 国产精品综合在线视频| 欧美一区二区黄| 日本欧美肥老太交大片| 欧洲一区在线电影| 国产精品美女久久久久久| 国产美女一区二区| 日韩女优电影在线观看| 久久99久久99精品免视看婷婷| 欧美日韩精品久久久| 国产日韩欧美高清| 五月婷婷另类国产| 欧美做爰猛烈大尺度电影无法无天| 国产农村妇女毛片精品久久麻豆| 国产一区二区三区四区在线观看| 日韩欧美自拍偷拍| 精品一区二区在线看| 欧美精品一区二区在线播放| 久久精品二区亚洲w码| 精品国产免费人成电影在线观看四季| 午夜电影一区二区三区| 国产三级一区二区| 国产成人在线网站| 国产亚洲成av人在线观看导航| 国产激情视频一区二区三区欧美 | 日本vs亚洲vs韩国一区三区 | 极品美女销魂一区二区三区 | 国产成人一区二区精品非洲| 中文字幕不卡一区| 欧美性色欧美a在线播放| 日韩综合在线视频| 中文字幕不卡三区| 欧美日韩国产成人在线免费| 另类小说图片综合网| 国产视频一区不卡| 欧美一区二区三区在线| 国产一区二区精品久久| 首页欧美精品中文字幕| 亚洲欧洲国产日韩| 欧美一级艳片视频免费观看| 波多野结衣91| 韩国理伦片一区二区三区在线播放| 自拍偷拍国产精品| 欧美激情在线免费观看| 欧美一区二区女人| 欧美日韩色综合| 在线观看不卡视频| 99久久99久久精品国产片果冻| 久久99精品久久久久久国产越南 | 99免费精品视频| 亚洲日韩欧美一区二区在线| 欧美一区二区人人喊爽| 欧美日韩一级片在线观看| 色综合天天综合在线视频| 成人亚洲一区二区一| 国产夫妻精品视频| 国产乱码精品一区二区三区忘忧草| 免费视频最近日韩| 日韩 欧美一区二区三区| 亚洲一区二区三区在线看| 国产精品美女久久久久高潮| 久久久国产精品午夜一区ai换脸| 日韩美女一区二区三区四区| 欧美va亚洲va| 欧美激情一区二区三区不卡| 国产精品高潮久久久久无| 国产精品福利一区| 亚洲激情自拍视频| 亚洲第一在线综合网站| 另类小说综合欧美亚洲| 粉嫩aⅴ一区二区三区四区 | 国产精品免费久久久久| 亚洲视频在线观看一区| 亚洲国产精品久久久男人的天堂| 天天影视网天天综合色在线播放 | 日韩欧美色综合网站| 中文欧美字幕免费| 日韩精品乱码av一区二区| 粉嫩av一区二区三区在线播放| 欧美性猛片aaaaaaa做受| 欧美一区二区视频观看视频|