Package org.openrefine.importers.tree
Interface TreeReader
-
- All Known Implementing Classes:
JsonImporter.JSONTreeReader
,XmlImporter.XmlParser
public interface TreeReader
Interface for all tree-shaped parsers. This is effectively part of the contract forTreeImportingParserBase
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TreeReader.Token
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TreeReader.Token
current()
int
getAttributeCount()
String
getAttributeLocalName(int index)
String
getAttributePrefix(int index)
String
getAttributeValue(int index)
String
getFieldName()
String
getFieldValue()
Deprecated.String
getPrefix()
Serializable
getValue()
boolean
hasNext()
TreeReader.Token
next()
-
-
-
Method Detail
-
current
TreeReader.Token current() throws TreeReaderException
- Throws:
TreeReaderException
-
hasNext
boolean hasNext() throws TreeReaderException
- Throws:
TreeReaderException
-
next
TreeReader.Token next() throws TreeReaderException
- Throws:
TreeReaderException
-
getFieldName
String getFieldName() throws TreeReaderException
- Throws:
TreeReaderException
-
getPrefix
String getPrefix()
-
getFieldValue
@Deprecated String getFieldValue() throws TreeReaderException
Deprecated.- Throws:
TreeReaderException
-
getValue
Serializable getValue() throws TreeReaderException
- Throws:
TreeReaderException
-
getAttributeCount
int getAttributeCount()
-
getAttributeValue
String getAttributeValue(int index)
-
getAttributePrefix
String getAttributePrefix(int index)
-
getAttributeLocalName
String getAttributeLocalName(int index)
-
-