add new protected methods: getEntityDom() and getEntityTypeDom()
add new methods for single entity type: getXml and extractEntityType