Package net.ontopia.topicmaps.nav2.core
Interface ModuleIF
-
- All Known Implementing Classes:
Module
public interface ModuleIF
INTERNAL: Implemented by an object which represents a module. That is a collection of functions. The module is read in from a location specified by an URL.- See Also:
FunctionIF
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFunction(FunctionIF func)
Adds a function to this module.void
clearFunctions()
Removes all existing functions.Collection
getFunctions()
Gets a collection of FunctionIF objects that are contained in this module.URL
getURL()
Gets the URL from where this module was read in.boolean
hasResourceChanged()
Checks if the resource has changed in the meantime by comparing the lastModified fields.void
readIn()
Reads in functions contained in module from resource.String
toString()
Returns a string representation of this object.
-
-
-
Method Detail
-
getURL
URL getURL()
Gets the URL from where this module was read in.
-
hasResourceChanged
boolean hasResourceChanged()
Checks if the resource has changed in the meantime by comparing the lastModified fields.
-
readIn
void readIn() throws NavigatorRuntimeException
Reads in functions contained in module from resource.- Throws:
NavigatorRuntimeException
-
clearFunctions
void clearFunctions()
Removes all existing functions.
-
getFunctions
Collection getFunctions()
Gets a collection of FunctionIF objects that are contained in this module.- See Also:
FunctionIF
-
addFunction
void addFunction(FunctionIF func)
Adds a function to this module.
-
-