RandomSec/main/src/com/google/refine/importers/parsers/TreeParser.java

17 lines
615 B
Java

package com.google.refine.importers.parsers;
import javax.servlet.ServletException;
public interface TreeParser {
public TreeParserToken next() throws ServletException;
public TreeParserToken getEventType() throws ServletException; //aka getCurrentToken
public boolean hasNext() throws ServletException;
public String getLocalName();
public String getPrefix();
public String getText();
public int getAttributeCount();
public String getAttributeValue(int index);
public String getAttributePrefix(int index);
public String getAttributeLocalName(int index);
}