- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractTreeDataReader
,JsonReader
,XmlReader
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
readBooleanAttribute
(String name) boolean
readBooleanAttribute
(String name, boolean defaultValue) void
readChildNodes
(TreeDataReader.ChildNodeReader childNodeReader) double
readDoubleAttribute
(String name) double
readDoubleAttribute
(String name, double defaultValue) void
<T extends Enum<T>>
TreadEnumAttribute
(String name, Class<T> clazz) <T extends Enum<T>>
TreadEnumAttribute
(String name, Class<T> clazz, T defaultValue) float
readFloatAttribute
(String name) float
readFloatAttribute
(String name, float defaultValue) readIntArrayAttribute
(String name) readIntAttribute
(String name) int
readIntAttribute
(String name, int defaultValue) readStringAttribute
(String name) void
-
Method Details
-
readRootVersion
String readRootVersion() -
readVersions
-
readDoubleAttribute
-
readDoubleAttribute
-
readFloatAttribute
-
readFloatAttribute
-
readStringAttribute
-
readIntAttribute
-
readIntAttribute
-
readBooleanAttribute
-
readBooleanAttribute
-
readEnumAttribute
-
readEnumAttribute
-
readContent
String readContent() -
readIntArrayAttribute
-
readStringArrayAttribute
-
skipChildNodes
void skipChildNodes() -
readChildNodes
-
readEndNode
void readEndNode() -
close
void close()- Specified by:
close
in interfaceAutoCloseable
-