Class Module
java.lang.Object
net.ontopia.topicmaps.nav2.impl.basic.Module
- All Implemented Interfaces:
ModuleIF
INTERNAL: ModuleIF implementation that reads functions from an XML
resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.
-
Field Details
-
TYPE_ENCRYPTED
- See Also:
-
TYPE_PLAIN
- See Also:
-
-
Constructor Details
-
Module
-
Module
-
-
Method Details
-
getURL
Description copied from interface:ModuleIFGets the URL from where this module was read in. -
getFunctions
Description copied from interface:ModuleIFGets a collection of FunctionIF objects that are contained in this module.- Specified by:
getFunctionsin interfaceModuleIF- See Also:
-
clearFunctions
public void clearFunctions()Description copied from interface:ModuleIFRemoves all existing functions.- Specified by:
clearFunctionsin interfaceModuleIF
-
hasResourceChanged
public boolean hasResourceChanged()Description copied from interface:ModuleIFChecks if the resource has changed in the meantime by comparing the lastModified fields.- Specified by:
hasResourceChangedin interfaceModuleIF
-
readIn
Description copied from interface:ModuleIFReads in functions contained in module from resource.- Specified by:
readInin interfaceModuleIF- Throws:
NavigatorRuntimeException
-
toString
Description copied from interface:ModuleIFReturns a string representation of this object.
-