fbench.graph.model
Class Resource

java.lang.Object
  extended by fbench.dom.ElementModel
      extended by fbench.graph.model.GraphModel
          extended by fbench.graph.model.Resource
Direct Known Subclasses:
Device

public class Resource
extends GraphModel

A GraphModel for a Resource instance.

Version:
20051113/JHC
Author:
JHC

Constructor Summary
Resource()
           
Resource(org.w3c.dom.Element el)
           
 
Method Summary
 java.util.Vector getGraph()
          Returns a Vector of GraphElements (if any) to be used for drawing the graph of the contained Element.
 
Methods inherited from class fbench.graph.model.GraphModel
canAccept, forElement
 
Methods inherited from class fbench.dom.ElementModel
equals, forElement, getComment, getElement, getName, getType, isDigit, isLetter, isName, setElement, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource()

Resource

public Resource(org.w3c.dom.Element el)
Method Detail

getGraph

public java.util.Vector getGraph()
Description copied from class: GraphModel
Returns a Vector of GraphElements (if any) to be used for drawing the graph of the contained Element. Default is the GraphElements (if any) corresponding to the children of the contained Element.

Overrides:
getGraph in class GraphModel