Package com.ibatis.common.xml
Class NodeletUtils
java.lang.Object
com.ibatis.common.xml.NodeletUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBooleanAttribute(Properties attribs, String name, boolean def) Gets the boolean attribute.static intgetIntAttribute(Properties attribs, String name, int def) Gets the int attribute.static PropertiesParses the attributes.static PropertiesparseAttributes(Node n, Properties variables) Parses the attributes.static StringparsePropertyTokens(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
-