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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunction(FunctionIF func) Adds a function to this module.voidRemoves all existing functions.Gets a collection of FunctionIF objects that are contained in this module.getURL()Gets the URL from where this module was read in.booleanChecks if the resource has changed in the meantime by comparing the lastModified fields.voidreadIn()Reads in functions contained in module from resource.toString()Returns a string representation of this object.
-
Method Details
-
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
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:
-
toString
String toString()Returns a string representation of this object.
-