thredds.inventory
Class NcmlCollectionReader

java.lang.Object
  extended by thredds.inventory.NcmlCollectionReader

public class NcmlCollectionReader
extends Object

Convert NcML into a CollectionManager. Must have aggregation and scan/scanFmrc element. Tracks inner and outer ncml modifications.

Since:
Feb 24, 2010
Author:
caron

Field Summary
static org.jdom.Namespace ncNS
           
 
Method Summary
 DatasetCollectionManager getDatasetManager()
           
 org.jdom.Element getNcmlInner()
           
 org.jdom.Element getNcmlOuter()
           
static NcmlCollectionReader open(String ncmlLocation, Formatter errlog)
          Read an NcML file from a URL location, and construct a NcmlCollectionReader from its scan or scanFmrc element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ncNS

public static final org.jdom.Namespace ncNS
Method Detail

open

public static NcmlCollectionReader open(String ncmlLocation,
                                        Formatter errlog)
                                 throws IOException
Read an NcML file from a URL location, and construct a NcmlCollectionReader from its scan or scanFmrc element.

Parameters:
ncmlLocation - the URL location string of the NcML document
errlog - put error messages here
Returns:
the resulting NetcdfDataset
Throws:
IOException - on read error, or bad referencedDatasetUri URI

getNcmlOuter

public org.jdom.Element getNcmlOuter()

getNcmlInner

public org.jdom.Element getNcmlInner()

getDatasetManager

public DatasetCollectionManager getDatasetManager()


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