|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.web.map.MapNodeFactory
this class encapsulates the issue of generating a Collection of Nodes and somehow transforming them into an appropriate class that the DocumentGenerator knows how to deal with. (i.e. I can make MapNodes myself, as seen in getTestNodes() or I can get the node data from some external source and convert it into the appropriate context as seen in getOpenNMSNodes()
Constructor Summary | |
MapNodeFactory()
|
Method Summary | |
java.util.Vector |
getNodes()
hide how we're really getting our node data |
java.util.Vector |
getOpenNMSNodes()
get node data from OpenNMS and massage it into the appropriate form for the MapNode class |
java.util.Vector |
getTestNodes()
generate a bunch of made-up nodes with generic node data in them. |
private void |
log(java.lang.String message)
log a message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapNodeFactory()
Method Detail |
private void log(java.lang.String message)
public java.util.Vector getNodes()
public java.util.Vector getOpenNMSNodes()
public java.util.Vector getTestNodes()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |