def processArchivable(archivableClass, elementNode):
 if (elementNode == None):
  return
 elementNode.xmlObject = archivableClass()
 elementNode.xmlObject.setToElementNode(elementNode)
 elementNode.getXMLProcessor().processChildNodes(elementNode)

def processArchivable ( archivableClass , elementNode ) : if ( elementNode == None ) : return elementNode . xmlObject = archivableClass ( ) elementNode . xmlObject . setToElementNode ( elementNode ) elementNode . getXMLProcessor ( ) . processChildNodes ( elementNode )
get any new elements and process the archivable .