setPresence method for Element and Text