ucar.nc2.ft.point.standard
Class PointConfigXML

java.lang.Object
  extended by ucar.nc2.ft.point.standard.PointConfigXML

public class PointConfigXML
extends Object

Helper class to convert a TableConfig to and from XML

Since:
Aug 18, 2009
Author:
caron

Constructor Summary
PointConfigXML()
           
 
Method Summary
 org.jdom.Document makeDocument()
          Create an XML document from this info
 TableConfig readConfigXML(String fileLocation, FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog)
           
 TableConfig readConfigXMLfromResource(String resourceLocation, FeatureType wantFeatureType, NetcdfDataset ds, Formatter errlog)
           
static void writeConfigXML(FeatureDatasetPoint pfd, Formatter f)
           
 void writeConfigXML(TableConfig tc, String tableConfigurerClass, Formatter sf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointConfigXML

public PointConfigXML()
Method Detail

writeConfigXML

public static void writeConfigXML(FeatureDatasetPoint pfd,
                                  Formatter f)

writeConfigXML

public void writeConfigXML(TableConfig tc,
                           String tableConfigurerClass,
                           Formatter sf)
                    throws IOException
Throws:
IOException

makeDocument

public org.jdom.Document makeDocument()
Create an XML document from this info

Returns:
netcdfDatasetInfo XML document

readConfigXMLfromResource

public TableConfig readConfigXMLfromResource(String resourceLocation,
                                             FeatureType wantFeatureType,
                                             NetcdfDataset ds,
                                             Formatter errlog)
                                      throws IOException
Throws:
IOException

readConfigXML

public TableConfig readConfigXML(String fileLocation,
                                 FeatureType wantFeatureType,
                                 NetcdfDataset ds,
                                 Formatter errlog)
                          throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.