code: public static <T extends Enum<T>> boolean setAttributeEnum(Node document, Class<T> type, T value, String... path) {
  		assert document != null : AssertMessages.notNullParameter(0);
  		return setAttributeEnum(document, type, true, value, path);
  	}
docs: Write an enumeration value.
  
  @param <T> is the type of the enumeration.
  @param document is the XML document to explore.
  @param type is the type of the enumeration.
  @param value is the value to put in the document.
  @param path is the list of and ended by the attribute's name.
  @return <code>true</code> if written, <code>false</code> if not written.