code: public static <E extends Enum<E>> E readEnumChild(
          Node node, Class<E> enumClass, String childNodeName)
      {
          if (node == null)
          {
              throw new XmlException(
                  "Tried to read enum value from child of null node");
          }
          Node child = XmlUtils.getFirstChild(node, childNodeName);
          return XmlUtils.readEnum(child, enumClass);
      }
docs: Parse an enum value from the first child of the given node with
  the given name
  
  @param <E> The enum type
  
  @param node The node
  @param enumClass The enum class
  @param childNodeName The child node name
  @return The enum value
  @throws XmlException If the given node was <code>null</code>, or no
  enum value could be parsed