Aspose.PDF for Android via Java also uses the idea of DOM to represent the structure of a PDF document in terms of objects. Here you can read the description of this structure....different options for searching, editing or replacing text, for example...