|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.morpho.plugins.metadisplay.MetaDisplayPlugin
Plugin that builds a display panel to display metadata. Given a String ID, does a lookup using a factory that must also be provided (and which implements the ContentFactoryInterface) to get the XML document to display. Then styles this document accordingly using XSLT, before displaying it in an embedded HTML display.
Constructor Summary | |
MetaDisplayPlugin()
|
Method Summary | |
MetaDisplayInterface |
getInstance()
Required by MetaDisplayFactoryInterface: Returns a new instance of an object that implements the MetaDisplayInterface |
MetaDisplayInterface |
getMetaDisplay(int displayNum)
Required by MetaDisplayFactoryInterface: Returns a reference to an existing object that implements the MetaDisplayInterface . |
void |
initialize(Morpho morpho)
Required by PluginInterface; called automatically at runtime |
static void |
main(java.lang.String[] args)
Main method can be used for testing this plugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetaDisplayPlugin()
Method Detail |
public void initialize(Morpho morpho)
initialize
in interface PluginInterface
morpho
- a reference to the Morpho
public MetaDisplayInterface getInstance()
MetaDisplayInterface
getInstance
in interface MetaDisplayFactoryInterface
MetaDisplayInterface
MetaDisplayFactoryInterface.getMetaDisplay(int displayNum)
public MetaDisplayInterface getMetaDisplay(int displayNum)
MetaDisplayInterface
. The object is identified by the int
index assigned to it in the getInstance() method at the time of creation
getMetaDisplay
in interface MetaDisplayFactoryInterface
displayNum
- int index assigned to the object in the
getInstance() method at the time of creation
MetaDisplayInterface
identified by
displayNum. Returns NULL if displayNum out of rangepublic static void main(java.lang.String[] args)
args
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |