Advertisement
Guest User

Untitled

a guest
May 6th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. for(Object par : paragraphs){
  2. P p = (P) par;
  3.  
  4. List<Object> texts = getAllElementFromObject(p, Text.class);
  5. for(Object text : texts){
  6. Text t = (Text)text;
  7.  
  8. if(t.getValue().contains(toFind)){
  9.  
  10. //here i want to insert the comment for this text
  11.  
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement