855df20481
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1378 7d457c2a-affb-35e4-300a-418c747d4874
17 lines
615 B
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);
|
|
}
|