Package net.ontopia.topicmaps.nav2.utils
Class ModuleReader
java.lang.Object
net.ontopia.topicmaps.nav2.utils.ModuleReader
- All Implemented Interfaces:
ModuleReaderIF
INTERNAL: Default implementation of the interface ModuleReaderIF
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModuleReader(boolean encrypted) INTERNAL: Constructor that accepts whether the input is encrypted or plain. -
Method Summary
Modifier and TypeMethodDescriptionprotected XMLReaderread(InputStream source) Method that reads a XML input stream of a module specification and creates a map with functions.
-
Field Details
-
encrypted
protected boolean encrypted -
parser
-
-
Constructor Details
-
ModuleReader
public ModuleReader(boolean encrypted) INTERNAL: Constructor that accepts whether the input is encrypted or plain.
-
-
Method Details
-
read
Description copied from interface:ModuleReaderIFMethod that reads a XML input stream of a module specification and creates a map with functions.- Specified by:
readin interfaceModuleReaderIF- Returns:
- A Map containing a String with the function name and as the associated value the FunctionIF object.
- Throws:
IOExceptionSAXException
-
getXMLParser
- Throws:
SAXException
-