Package com.alibaba.citrus.service.requestcontext.util

Examples of com.alibaba.citrus.service.requestcontext.util.ValueList


     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public short getShort(String key, short defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getShortValue(defaultValue);
    }
View Full Code Here


     *
     * @param key ������
     * @return ����ֵ
     */
    public String getString(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? null : container.getStringValue();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public String getString(String key, String defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getStringValue(defaultValue);
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ������
     */
    public String[] getStrings(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? EMPTY_STRING_ARRAY : container.getStringValues();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ������
     */
    public String[] getStrings(String key, String[] defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getStringValues(defaultValue);
    }
View Full Code Here

     * @param key ������
     * @param format <code>DateFormat</code>����
     * @return <code>java.util.Date</code>����
     */
    public Date getDate(String key, DateFormat format) {
        ValueList container = getValueList(key, false);
        return container == null ? null : container.getDateValue(format);
    }
View Full Code Here

     * @param format <code>DateFormat</code>����
     * @param defaultValue Ĭ��ֵ
     * @return <code>java.util.Date</code>����
     */
    public Date getDate(String key, DateFormat format, Date defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getDateValue(format, defaultValue);
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ
     */
    public Object getObject(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? null : container.getValue();
    }
View Full Code Here

     * @param key ������
     * @param defaultValue Ĭ��ֵ
     * @return ����ֵ
     */
    public Object getObject(String key, Object defaultValue) {
        ValueList container = getValueList(key, false);
        return container == null ? defaultValue : container.getValue(defaultValue);
    }
View Full Code Here

     *
     * @param key ������
     * @return ����ֵ������
     */
    public Object[] getObjects(String key) {
        ValueList container = getValueList(key, false);
        return container == null ? EMPTY_OBJECT_ARRAY : container.getValues();
    }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.requestcontext.util.ValueList

Copyright © 2018 www.massapicom. 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.