|
||||||||||
| 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 java.lang.String |
TYPE_ENCRYPTED
|
static java.lang.String |
TYPE_PLAIN
|
| Constructor Summary | |
|---|---|
Module(java.net.URL location)
|
|
Module(java.net.URL location,
java.lang.String readerType)
|
|
| Method Summary | |
|---|---|
void |
addFunction(FunctionIF func)
Adds a function to this module. |
void |
clearFunctions()
Removes all existing functions. |
java.util.Collection |
getFunctions()
Gets a collection of FunctionIF objects that are contained in this module. |
java.net.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. |
java.lang.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 java.lang.String TYPE_ENCRYPTED
public static final java.lang.String TYPE_PLAIN
| Constructor Detail |
|---|
public Module(java.net.URL location)
public Module(java.net.URL location,
java.lang.String readerType)
| Method Detail |
|---|
public java.net.URL getURL()
ModuleIF
getURL in interface ModuleIFpublic java.util.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 java.lang.String toString()
ModuleIF
toString in interface ModuleIFtoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||