fbench.graph.model
Class FBNetwork

java.lang.Object
  extended by fbench.dom.ElementModel
      extended by fbench.graph.model.GraphModel
          extended by fbench.graph.model.FBNetwork

public class FBNetwork
extends GraphModel

A GraphModel for an IEC 61499 FBNetwork Element.

Version:
20050825/JHC
Author:
JHC

Constructor Summary
FBNetwork()
           
FBNetwork(org.w3c.dom.Element el)
           
 
Method Summary
 boolean canAccept(java.lang.String filename)
          Returns true if the graph represented by this model can accept a new LibraryElement stored with the given file name.
 java.util.Vector getGraph()
          Returns a Vector of GraphElements (if any) to be used for drawing the graph of the contents of this node.
 
Methods inherited from class fbench.graph.model.GraphModel
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

FBNetwork

public FBNetwork()

FBNetwork

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

getGraph

public java.util.Vector getGraph()
Returns a Vector of GraphElements (if any) to be used for drawing the graph of the contents of this node.

Overrides:
getGraph in class GraphModel

canAccept

public boolean canAccept(java.lang.String filename)
Description copied from class: GraphModel
Returns true if the graph represented by this model can accept a new LibraryElement stored with the given file name. This is typically done by checking the file suffix. The default value is false .

Overrides:
canAccept in class GraphModel