/*
********************* [ 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);
}
|