|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.nav2.impl.basic.Module
public class Module
INTERNAL: ModuleIF implementation that reads functions from an XML resource.
| Field Summary | |
|---|---|
static String |
TYPE_ENCRYPTED
|
static String |
TYPE_PLAIN
|
| Constructor Summary | |
|---|---|
Module(URL location)
|
|
Module(URL location,
String readerType)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_ENCRYPTED
public static final String TYPE_PLAIN
| Constructor Detail |
|---|
public Module(URL location)
public Module(URL location,
String readerType)
| Method Detail |
|---|
public URL getURL()
ModuleIF
getURL in interface ModuleIFpublic Collection getFunctions()
ModuleIF
getFunctions in interface ModuleIFFunctionIFpublic void addFunction(FunctionIF func)
ModuleIF
addFunction in interface ModuleIFpublic void clearFunctions()
ModuleIF
clearFunctions in interface ModuleIFpublic boolean hasResourceChanged()
ModuleIF
hasResourceChanged in interface ModuleIF
public void readIn()
throws NavigatorRuntimeException
ModuleIF
readIn in interface ModuleIFNavigatorRuntimeExceptionpublic String toString()
ModuleIF
toString in interface ModuleIFtoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||