[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Fri Mar 7 22:42:04 UTC 2008
gordonp
Fri Mar 7 17:42:03 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv968/src/main/org/biomoby/shared
Modified Files:
MobyPrefixResolver.java
Log Message:
Fixed unchecked operation warning, added SAWSDL support for semantic WSDL wrapping servlet to come shortly
moby-live/Java/src/main/org/biomoby/shared MobyPrefixResolver.java,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java 2008/02/13 01:28:06 1.11
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java 2008/03/07 22:42:03 1.12
@@ -44,6 +44,8 @@
public static final String XHTML_NAMESPACE = "http://www.w3.org/1999/xhtml";
public static final String XLINK_PREFIX = "xlink";
public static final String XLINK_NAMESPACE = "http://www.w3.org/1999/xlink";
+ public static final String SAWSDL_PREFIX = "sawsdl";
+ public static final String SAWSDL_NAMESPACE = "http://www.w3.org/ns/sawsdl";
/**
* We don't really implement this as it can be extremely complicated.
@@ -121,10 +123,10 @@
}
public static class MobyNodeList implements NodeList{
- private Vector nodes;
- public MobyNodeList(){nodes = new Vector();}
+ private Vector<Node> nodes;
+ public MobyNodeList(){nodes = new Vector<Node>();}
public int getLength(){return nodes.size();}
- public Node item(int index){return (Node) nodes.elementAt(index);}
+ public Node item(int index){return nodes.elementAt(index);}
public void add(Node n){nodes.add(n);}
};
More information about the MOBY-guts
mailing list