code: public void readChild(Element element, PrintWriter ps, int level,
  			String name) {
  		String nbTab = tabMaker(level);
  
  		if (element instanceof Resource) {
  			Resource resource = (Resource) element;
  
  			writeBegin(ps, nbTab, name, level, element.getTypeAsString());
  
  			for (Resource.Entry entry : resource) {
  				Property key = entry.getKey();
  				Element value = entry.getValue();
  
  				level++;
  				readChild(value, ps, level, key.toString());
  				level--;
  			}
  
  			writeEnd(ps, nbTab, element.getTypeAsString());
  
  		} else {
  			Property elem = (Property) element;
  			writeProperties(ps, nbTab, name, element.getTypeAsString(),
  					elem.toString());
  		}
  	}
docs: Reads each child.
  
  @param element
  element to treat
  @param ps
  PrintWriter
  
  @param level
  Level of the node in the tree
  
  @param name
  name of the element