Logo Search packages:      
Sourcecode: pcalendar version File versions  Download package

void net::sf::linuxorg::pcal::engine::Engine::saveToFileDates ( Document  doc,
Element  parent_element 
) [inline, private]

Save to file date records saveToFile helper

Parameters:
doc
parent_element

Definition at line 890 of file Engine.java.

References dateTypes.

Referenced by saveToFile().

                                                                         {
            Element element;
            for(Date d: startDates) {
                  int type = dateTypes.get(d); 
                  if(dateTypeToTagMap.containsKey(type)) {
                        element = doc.createElement(dateTypeToTagMap.get(type));                      
                        element.appendChild(doc.createTextNode(DATE_FORMAT.format(d))); 
                        parent_element.appendChild(element);                        
                  }
            }
      }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index