public String dumpXML() { resolveReferences(); return super.dumpXML(); }
/** * Dumps the given OME-XML DOM tree to a string. * @return OME-XML as a string. */ @Override public String dumpXML() { if (root == null) { root = (OMEModelObject) getRoot(); if (root == null) return null; } Document doc = createNewDocument(); Element r = root.asXMLElement(doc); String schemaLocation = OME.NAMESPACE + " " + SCHEMA; return XMLTools.dumpXML(schemaLocation, doc, r); }
/** * Dumps the given OME-XML DOM tree to a string. * @return OME-XML as a string. */ @Override public String dumpXML() { if (root == null) { root = (OMEModelObject) getRoot(); if (root == null) return null; } Document doc = createNewDocument(); Element r = root.asXMLElement(doc); String schemaLocation = OME.NAMESPACE + " " + SCHEMA; return XMLTools.dumpXML(schemaLocation, doc, r); }
public String dumpXML() { resolveReferences(); return super.dumpXML(); }