java.lang.Object
org.embl.ebi.escience.talisman.scuflsupport.ScuflModelBean
- All Implemented Interfaces:
- java.io.Serializable
- public class ScuflModelBean
- extends java.lang.Object
- implements java.io.Serializable
This bean allows you to load a ScuflModel with attached
XScuflView and DotView representations into a Talisman
bean field. It exposes the XML and Dot representations
by the getXScufl and getDot methods, which can therefore
be accessed by Talisman's bean accessor proxy fields,
see the documentation for the Talisman resolver for more
details of how to do this.
|
Constructor Summary |
ScuflModelBean()
Must have a default constructor to comply with the
Talisman bean requirements. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
private org.embl.ebi.escience.scufl.ScuflModel model
dotView
private org.embl.ebi.escience.scufl.view.DotView dotView
xscuflView
private org.embl.ebi.escience.scufl.view.XScuflView xscuflView
ScuflModelBean
public ScuflModelBean()
- Must have a default constructor to comply with the
Talisman bean requirements. In this case, it creates
an empty ScuflModel, and attaches a DotView and XScuflView
to it.
getModel
public org.embl.ebi.escience.scufl.ScuflModel getModel()
- Get the underlying model for this bean
getXScufl
public java.lang.String getXScufl()
- Get the XML text
getDot
public java.lang.String getDot()
- Get the Dot description