childmapentrydefinitionparser.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 71 行
JAVA
71 行
/* * $Id: ChildMapEntryDefinitionParser.java 12421 2008-07-29 19:00:01Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.config.spring.parsers.collection;import org.mule.config.spring.parsers.generic.ChildDefinitionParser;public class ChildMapEntryDefinitionParser extends ChildDefinitionParser{ public static final String KEY = "key"; public static final String VALUE = "value"; public ChildMapEntryDefinitionParser(String mapName) { super(mapName, KeyValuePair.class); } public ChildMapEntryDefinitionParser(String mapName, String keyName, String valueName) { this(mapName); addAlias(keyName, KEY); addAlias(valueName, VALUE); } public static class KeyValuePair { private String key; private Object value; public KeyValuePair() { super(); } public KeyValuePair(String key, Object value) { this.key = key; this.value = value; } public String getKey() { return key; } public Object getValue() { return value; } public void setKey(String key) { this.key = key; } public void setValue(Object value) { this.value = value; } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?