package util;
import org.xml.sax.*;
/** this interface was created to be used with our simple parser. An
* object of this kind would be created and given to the parser.
*/
public interface ParseModel {
/** this gives the element name and the attribute list. */
public void setModelElement (String ename, Attributes attrs);
/** this gives the attribute name and value, it also gives the index
* of the attribute starting 0, and the total count of attributes
* within that
* element */
public void setModelAttribute (int row, int total, String aname,
String value, String ename);
/** this was put to return the collection since we dont know what
* kinda object we have in here. You can get and then manipulate
* as is.
*/
public Object getObject ();
}
|