protected void addElementsToFold(List<FoldingDescriptor> foldings, XmlElement tag, Document document) {
    addToFold(foldings, tag, document);
    doAddForChildren(tag, foldings, document);
  }
protected void addElementsToFold(List<FoldingDescriptor> foldings, XmlElement tag, Document document)