Class NodeletUtils

java.lang.Object
com.ibatis.common.xml.NodeletUtils

public class NodeletUtils extends Object
The Class NodeletUtils.
  • Constructor Details

    • NodeletUtils

      public NodeletUtils()
  • Method Details

    • getBooleanAttribute

      public static boolean getBooleanAttribute(Properties attribs, String name, boolean def)
      Gets the boolean attribute.
      Parameters:
      attribs - the attribs
      name - the name
      def - the def
      Returns:
      the boolean attribute
    • getIntAttribute

      public static int getIntAttribute(Properties attribs, String name, int def)
      Gets the int attribute.
      Parameters:
      attribs - the attribs
      name - the name
      def - the def
      Returns:
      the int attribute
    • parseAttributes

      public static Properties parseAttributes(Node n)
      Parses the attributes.
      Parameters:
      n - the n
      Returns:
      the properties
    • parseAttributes

      public static Properties parseAttributes(Node n, Properties variables)
      Parses the attributes.
      Parameters:
      n - the n
      variables - the variables
      Returns:
      the properties
    • parsePropertyTokens

      public static String parsePropertyTokens(String string, Properties variables)
      Parses the property tokens.
      Parameters:
      string - the string
      variables - the variables
      Returns:
      the string