The Entity class contains the following methods:
getAttribute retrieves a specified attribute within an ElementImpl set.
getAttributes retrieves all attributes within an ElementImpl set.
getName retrieves the name of the entity.
getTagName retrieves the tag name from an external (system) or internal entity declaration.
save saves the entity to the given output stream with indenting and new lines.
saveEntity saves the entity to the given output stream.
setText changes the text of the entity.