Package org.apache.ibatis.parsing
Class PropertyParser
- java.lang.Object
 - 
- org.apache.ibatis.parsing.PropertyParser
 
 
- 
public class PropertyParser extends Object
- Author:
 - Clinton Begin, Kazuki Shimizu
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringKEY_DEFAULT_VALUE_SEPARATORThe special property key that specify a separator for key and default value on placeholder.static StringKEY_ENABLE_DEFAULT_VALUEThe special property key that indicate whether enable a default value on placeholder. 
 - 
 
- 
- 
Field Detail
- 
KEY_ENABLE_DEFAULT_VALUE
public static final String KEY_ENABLE_DEFAULT_VALUE
The special property key that indicate whether enable a default value on placeholder.The default value is
false(indicate disable a default value on placeholder) If you specify thetrue, you can specify key and default value on placeholder (e.g.${db.username:postgres}).- Since:
 - 3.4.2
 - See Also:
 - Constant Field Values
 
 
- 
KEY_DEFAULT_VALUE_SEPARATOR
public static final String KEY_DEFAULT_VALUE_SEPARATOR
The special property key that specify a separator for key and default value on placeholder.The default separator is
":".- Since:
 - 3.4.2
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
parse
public static String parse(String string, Properties variables)
 
 - 
 
 -