From: jprocter Date: Fri, 13 Jan 2006 14:53:54 +0000 (+0000) Subject: added getOriginalRoots() method for current archive. X-Git-Tag: Release_0.2~410 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=be8fc58c18866427f263d220380d484c313eec58;p=vamsas.git added getOriginalRoots() method for current archive. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@110 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/client/simpleclient/VamsasArchive.java b/src/org/vamsas/client/simpleclient/VamsasArchive.java index 80f6735..65b1d50 100644 --- a/src/org/vamsas/client/simpleclient/VamsasArchive.java +++ b/src/org/vamsas/client/simpleclient/VamsasArchive.java @@ -421,7 +421,17 @@ public class VamsasArchive { } return null; } - + /** + * returns original document's root vamsas elements. + * @return + * @throws IOException + * @throws org.exolab.castor.xml.MarshalException + * @throws org.exolab.castor.xml.ValidationException + */ + public object[] getOriginalRoots() throws IOException, + org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { + return VamsasArchive.getOriginalRoots(this); + } /** * Access original document if it exists, and get VAMSAS root objects. * @return vector of vamsas roots from original document