Class Module
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.impl.basic.Module
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_ENCRYPTEDstatic StringTYPE_PLAIN
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFunction(FunctionIF func)Adds a function to this module.voidclearFunctions()Removes all existing functions.CollectiongetFunctions()Gets a collection of FunctionIF objects that are contained in this module.URLgetURL()Gets the URL from where this module was read in.booleanhasResourceChanged()Checks if the resource has changed in the meantime by comparing the lastModified fields.voidreadIn()Reads in functions contained in module from resource.StringtoString()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:ModuleIFGets the URL from where this module was read in.
-
getFunctions
public Collection getFunctions()
Description copied from interface:ModuleIFGets a collection of FunctionIF objects that are contained in this module.- Specified by:
getFunctionsin interfaceModuleIF- See Also:
FunctionIF
-
addFunction
public void addFunction(FunctionIF func)
Description copied from interface:ModuleIFAdds a function to this module.- Specified by:
addFunctionin interfaceModuleIF
-
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
public void readIn() throws NavigatorRuntimeExceptionDescription copied from interface:ModuleIFReads in functions contained in module from resource.- Specified by:
readInin interfaceModuleIF- Throws:
NavigatorRuntimeException
-
-