cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java
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