Package com.ibatis.common.xml
Class NodeletUtils
java.lang.Object
com.ibatis.common.xml.NodeletUtils
The Class NodeletUtils.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getBooleanAttribute
(Properties attribs, String name, boolean def) Gets the boolean attribute.static int
getIntAttribute
(Properties attribs, String name, int def) Gets the int attribute.static Properties
Parses the attributes.static Properties
parseAttributes
(Node n, Properties variables) Parses the attributes.static String
parsePropertyTokens
(String string, Properties variables) Parses the property tokens.
-
Constructor Details
-
NodeletUtils
public NodeletUtils()
-
-
Method Details
-
getBooleanAttribute
Gets the boolean attribute.- Parameters:
attribs
- the attribsname
- the namedef
- the def- Returns:
- the boolean attribute
-
getIntAttribute
Gets the int attribute.- Parameters:
attribs
- the attribsname
- the namedef
- the def- Returns:
- the int attribute
-
parseAttributes
Parses the attributes.- Parameters:
n
- the n- Returns:
- the properties
-
parseAttributes
Parses the attributes.- Parameters:
n
- the nvariables
- the variables- Returns:
- the properties
-
parsePropertyTokens
Parses the property tokens.- Parameters:
string
- the stringvariables
- the variables- Returns:
- the string
-