[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Mon Mar 12 17:02:30 UTC 2007
gordonp
Mon Mar 12 13:02:30 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data
In directory dev.open-bio.org:/tmp/cvs-serv4542/src/main/org/biomoby/shared/data
Modified Files:
MobyDataComposite.java
Log Message:
Slightly refactoring of DOM parsing so child classes can use it too (e.g. MobyDataBytes)
moby-live/Java/src/main/org/biomoby/shared/data MobyDataComposite.java,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.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/data/MobyDataComposite.java 2007/01/23 19:36:25 1.11
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/data/MobyDataComposite.java 2007/03/12 17:02:30 1.12
@@ -34,6 +34,10 @@
public MobyDataComposite(org.w3c.dom.Element element) throws MobyException{
this(MobyDataType.getDataType(element.getLocalName()), getName(element), getNamespace(element), getId(element));
+ populateMembersFromDOM(element);
+ }
+
+ protected void populateMembersFromDOM(org.w3c.dom.Element element) throws MobyException{
// Decompose the children
org.w3c.dom.NodeList substructures = MobyPrefixResolver.getChildElements(element, "*"); //wildcard
int numSubstructures = substructures.getLength();
More information about the MOBY-guts
mailing list