code: public String[] getChildrenProperties(String parent) {
  		String[] propName = parsePropertyName(parent);
  		// Search for this property by traversing down the XML heirarchy.
  		Element element = doc.getRootElement();
  		for (int i = 0; i < propName.length; i++) {
  			element = element.getChild(propName[i]);
  			if (element == null) {
  				// This node doesn't match this part of the property name which
  				// indicates this property doesn't exist so return empty array.
  				return new String[] {};
  			}
  		}
  		// We found matching property, return names of children.
  		List children = element.getChildren();
  		int childCount = children.size();
  		String[] childrenNames = new String[childCount];
  		for (int i = 0; i < childCount; i++) {
  			childrenNames[i] = ((Element) children.get(i)).getName();
  		}
  		return childrenNames;
  	}
docs: Return all children property names of a parent property as a String
  array, or an empty array if the if there are no children. For example,
  given the properties <tt>X.Y.A</tt>, <tt>X.Y.B</tt>, and <tt>X.Y.C</tt>,
  then the child properties of <tt>X.Y</tt> are <tt>A</tt>, <tt>B</tt>, and
  <tt>C</tt>.
  
  @param parent
  the name of the parent property.
  @return all child property values for the given parent.