edu.ucsb.nceas.morpho.plugins.metadisplay
Class MetaDisplayPlugin
java.lang.Object
|
+--edu.ucsb.nceas.morpho.plugins.metadisplay.MetaDisplayPlugin
- public class MetaDisplayPlugin
- extends java.lang.Object
- implements PluginInterface, ServiceProvider, MetaDisplayFactoryInterface
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.
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 |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MetaDisplayPlugin
public MetaDisplayPlugin()
initialize
public void initialize(Morpho morpho)
- Required by PluginInterface; called automatically at runtime
- Specified by:
- initialize in interface PluginInterface
- Parameters:
morpho
- a reference to the Morpho
getInstance
public MetaDisplayInterface getInstance()
- Required by MetaDisplayFactoryInterface:
Returns a new instance of an object that implements the
MetaDisplayInterface
- Specified by:
- getInstance in interface MetaDisplayFactoryInterface
- Returns:
- new instance of an object that implements the
MetaDisplayInterface
getMetaDisplay
public MetaDisplayInterface getMetaDisplay(int displayNum)
- Required by MetaDisplayFactoryInterface:
Returns a reference to an existing object that implements the
MetaDisplayInterface
. The object is identified by the int
index assigned to it in the getInstance() method at the time of creation
- Specified by:
- getMetaDisplay in interface MetaDisplayFactoryInterface
- Parameters:
displayNum
- int index assigned to the object in the
getInstance() method at the time of creation- Returns:
- reference to an existing object that implements the
MetaDisplayInterface
identified by
displayNum. Returns NULL if displayNum out of range
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.