public static String getPropertyValue(Element elem) throws IllegalDataFormatException {
assert (elem != null);
if (!isPropertyElement(elem)) {
throw new IllegalDataFormatException();
}
Node child = elem.getFirstChild();
return (child != null) ? ((Text) child).getWholeText() : Strings.EMPTY_STRING;
}