java.lang.Objectnet.dowhatimean.jme.ModelEditor
A Swing-based GUI window that provides a simple Turtle-based
editor and inspector for Jena models. Useful for debugging GUI
and web applications. To open an editor window, pass the model
instance to the static open(Model) method.
The editor has basic reporting of Turtle syntax errors. It also updates the namespace prefixes of the model. Several windows for different models may be open at the same time. Concurrent changes to the model are reported.
The class has a main(java.lang.String[]) method for demonstration purposes.
It loads one or more RDF files into Jena models and displays an editor
for each.
| Method Summary | |
static void |
main(String[] args)
Main method for demonstration purposes. |
static ModelEditor |
open(Model sourceModel)
Opens a new editor window and binds it to the given model. |
static ModelEditor |
open(Model sourceModel,
String title)
Opens a new editor window and binds it to the given model. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ModelEditor open(Model sourceModel)
sourceModel - A Jena model
public static ModelEditor open(Model sourceModel,
String title)
sourceModel - A Jena modeltitle - A custom title for the editor window
public static void main(String[] args)
args -