[MOBY-guts] biomoby commit
Gary Schlitz
gss at pub.open-bio.org
Thu Nov 4 22:36:15 UTC 2004
gss
Thu Nov 4 17:36:15 EST 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev
In directory pub.open-bio.org:/tmp/cvs-serv32270/src/org/smoby/ref/servlets/dev
Modified Files:
MOBYGraphValidationServlet.java OWLValidationServlet.java
Log Message:
Use symbolic GRAPH_PARAMETER_NAME
moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev MOBYGraphValidationServlet.java,1.1,1.2 OWLValidationServlet.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/MOBYGraphValidationServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/MOBYGraphValidationServlet.java 2004/07/15 20:27:15 1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/MOBYGraphValidationServlet.java 2004/11/04 22:36:15 1.2
@@ -3,6 +3,7 @@
import org.smoby.parser.Parser;
import org.smoby.ref.servlets.BaseServlet;
import org.smoby.servlet.*;
+import org.smoby.vocabulary.MOBY;
import org.smoby.graph.*;
import com.hp.hpl.jena.rdf.model.*;
@@ -21,7 +22,8 @@
try
{
- String graphString = ParamReader.getParameter("graph", request);
+ String graphString = ParamReader.getParameter(
+ MOBY.GRAPH_PARAMETER_NAME, request);
Model baseModel = ModelFactory.createDefaultModel();
StringReader reader = new StringReader(graphString);
baseModel.read(reader, null);
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/OWLValidationServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/OWLValidationServlet.java 2004/07/15 20:27:16 1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/semanticmoby.org/src/org/smoby/ref/servlets/dev/OWLValidationServlet.java 2004/11/04 22:36:15 1.2
@@ -3,6 +3,7 @@
import org.smoby.ref.servlets.BaseServlet;
import org.smoby.servlet.ParamReader;
import org.smoby.servlet.ParameterException;
+import org.smoby.vocabulary.MOBY;
import com.hp.hpl.jena.ontology.*;
import com.hp.hpl.jena.ontology.tidy.*;
@@ -23,7 +24,8 @@
try
{
- String graphString = ParamReader.getParameter("graph", request);
+ String graphString = ParamReader.getParameter(
+ MOBY.GRAPH_PARAMETER_NAME, request);
Model baseModel = ModelFactory.createDefaultModel();
StringReader reader = new StringReader(graphString);
baseModel.read(reader, null);
More information about the MOBY-guts
mailing list