Package ome.xml.meta

Class OMEXMLMetadataRoot

  • All Implemented Interfaces:
    MetadataRoot, OMEModelObject

    public class OMEXMLMetadataRoot
    extends OME
    implements MetadataRoot
    A utility class for constructing and manipulating OME-XML DOMs.
    Author:
    Roger Leigh rleigh at dundee.ac.uk
    • Constructor Detail

      • OMEXMLMetadataRoot

        public OMEXMLMetadataRoot()
        Default constructor.
      • OMEXMLMetadataRoot

        public OMEXMLMetadataRoot​(Element element,
                                  OMEModel model)
                           throws EnumerationException
        Constructs OME recursively from an XML DOM tree.
        Parameters:
        element - Root of the XML DOM tree to construct a model object graph from.
        model - Handler for the OME model which keeps track of instances and references seen during object population.
        Throws:
        EnumerationException - If there is an error instantiating an enumeration during model object creation.
      • OMEXMLMetadataRoot

        public OMEXMLMetadataRoot​(OME ome)
        Construct from existing OME instance.
        Parameters:
        ome - the OME instance to copy.