private Document makeDocument() {
    Element rootElem = new Element("featureDataset");
    Document doc = new Document(rootElem);
    rootElem.setAttribute("location", ds.getLocation());
    rootElem.addContent( new Element("analyser").setAttribute("class", getName()));
    if (ft != null)
      rootElem.setAttribute("featureType", ft.toString());

    for (NestedTable nt : leaves) {
      writeTable( rootElem, nt.getLeaf());
    }

    return doc;
  }
private Document makeDocument() {
    Element rootElem = new Element("featureDataset");
    Document doc = new Document(rootElem);
    rootElem.setAttribute("location", ds.getLocation());
    rootElem.addContent( new Element("analyser").setAttribute("class", getName()));
    if (ft != null)
      rootElem.setAttribute("featureType", ft.toString());

    for (NestedTable nt : leaves) {
      writeTable( rootElem, nt.getLeaf());
    }

    return doc;
  }
private Document makeDocument ( ) { Element rootElem = new Element ( "featureDataset" ) ; Document doc = new Document ( rootElem ) ; rootElem . setAttribute ( "location" , ds . getLocation ( ) ) ; rootElem . addContent ( new Element ( "analyser" ) . setAttribute ( "class" , getName ( ) ) ) ; if ( ft != null ) rootElem . setAttribute ( "featureType" , ft . toString ( ) ) ; for ( NestedTable nt : leaves ) { writeTable ( rootElem , nt . getLeaf ( ) ) ; } return doc ; }
Create an XML document from this info
@return netcdfDatasetInfo XML document
Create an XML document from this info