Class Module
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.impl.basic.Module
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_ENCRYPTED
static String
TYPE_PLAIN
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Field Detail
-
TYPE_ENCRYPTED
public static final String TYPE_ENCRYPTED
- See Also:
- Constant Field Values
-
TYPE_PLAIN
public static final String TYPE_PLAIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getURL
public URL getURL()
Description copied from interface:ModuleIF
Gets the URL from where this module was read in.
-
getFunctions
public Collection getFunctions()
Description copied from interface:ModuleIF
Gets a collection of FunctionIF objects that are contained in this module.- Specified by:
getFunctions
in interfaceModuleIF
- See Also:
FunctionIF
-
addFunction
public void addFunction(FunctionIF func)
Description copied from interface:ModuleIF
Adds a function to this module.- Specified by:
addFunction
in interfaceModuleIF
-
clearFunctions
public void clearFunctions()
Description copied from interface:ModuleIF
Removes all existing functions.- Specified by:
clearFunctions
in interfaceModuleIF
-
hasResourceChanged
public boolean hasResourceChanged()
Description copied from interface:ModuleIF
Checks if the resource has changed in the meantime by comparing the lastModified fields.- Specified by:
hasResourceChanged
in interfaceModuleIF
-
readIn
public void readIn() throws NavigatorRuntimeException
Description copied from interface:ModuleIF
Reads in functions contained in module from resource.- Specified by:
readIn
in interfaceModuleIF
- Throws:
NavigatorRuntimeException
-
-