IDOMTree.java :  » App » pocketcampus » org » pocketcampus » shared » parser » html » Android Open Source

Android Open Source » App » pocketcampus 
pocketcampus » org » pocketcampus » shared » parser » html » IDOMTree.java
/*
 ********************* [ P O C K E T C A M P U S ] *****************
 * [    LICENCE    ]    See "licence"-file in the root directory
 * [   MAINTAINER  ]    jeremiah.menetrey@epfl.ch
 * [     STATUS    ]    experimental
 *
 **************************[ C O M M E N T S ]**********************
 *
 * 
 *
 *******************************************************************
 */
package org.pocketcampus.shared.parser.html;

import java.util.Collection;

public interface IDOMTree {
  /**
   * Finds elements, including and recursively under this element, with the specified tag name. 
   * @param tag
   * @return
   */
  public Collection<? extends IDOMElement> getElementsByTag(String tag);
  
  public Collection<? extends IDOMElement> getElementsByClass(String className);
  
  /**
   * Find an element by ID, including or under this element.
   * @param id
   * @return
   */
  public IDOMElement getElementById(String id);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.