Package org.apache.ibatis.parsing
Class PropertyParser
java.lang.Object
org.apache.ibatis.parsing.PropertyParser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
static final String
The special property key that specify a separator for key and default value on placeholder.static final String
The special property key that indicate whether enable a default value on placeholder.private static final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
KEY_PREFIX
- See Also:
-
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:
-
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:
-
ENABLE_DEFAULT_VALUE
- See Also:
-
DEFAULT_VALUE_SEPARATOR
- See Also:
-
-
Constructor Details
-
PropertyParser
private PropertyParser()
-
-
Method Details
-
parse
-