fbench.graph.model
Class FBNetwork
java.lang.Object
fbench.dom.ElementModel
fbench.graph.model.GraphModel
fbench.graph.model.FBNetwork
public class FBNetwork
- extends GraphModel
A GraphModel for an IEC 61499 FBNetwork Element.
- Version:
- 20050825/JHC
- Author:
- JHC
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.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 |
FBNetwork
public FBNetwork()
FBNetwork
public FBNetwork(org.w3c.dom.Element el)
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