-
- All Known Implementing Classes:
XmlInputReader,XmlReader
public interface IReader- Author:
- Jeff Riggle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Documentdocument()StringfileLocation()voidfileLocation(String value)voidread()Reads the xml file into memory.
-
-
-
Method Detail
-
fileLocation
String fileLocation()
- Returns:
- The current xml file location.
-
fileLocation
void fileLocation(String value)
- Parameters:
value- The new xml file location.
-
read
void read() throws SAXException, IOException
Reads the xml file into memory.- Throws:
SAXException- When the xml document cannot be parsed.IOException- When file does not exist or when access is restricted to the file.
-
document
Document document()
- Returns:
- The xml file in memory.
-
-