thredds.catalog.parser.jdom
Class DqcConvert3
java.lang.Object
thredds.catalog.parser.jdom.DqcConvert3
- All Implemented Interfaces:
- DqcConvertIF
public class DqcConvert3
- extends Object
- implements DqcConvertIF
DQC Converter of DOM to object model.
Reads DQC.xml files, constructs object representation.
- Author:
- John Caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugURL
public static boolean debugURL
debugXML
public static boolean debugXML
debugDBurl
public static boolean debugDBurl
debugXMLopen
public static boolean debugXMLopen
showParsedXML
public static boolean showParsedXML
showXMLoutput
public static boolean showXMLoutput
defNS
protected static final org.jdom.Namespace defNS
xlinkNS
protected static final org.jdom.Namespace xlinkNS
DqcConvert3
public DqcConvert3()
parseXML
public QueryCapability parseXML(DqcFactory fac,
org.jdom.Document jdomDoc,
URI uri)
throws IOException
- Create an QueryCapability from an XML document at a named URL.
- Specified by:
parseXML
in interface DqcConvertIF
- Parameters:
uri
- : the URI that the XML doc is at.
- Returns:
- an QueryCapability object
- Throws:
IOException
readDocumentation
protected InvDocumentation readDocumentation(org.jdom.Element s)
writeQC
public org.jdom.Document writeQC(QueryCapability qc)
writeXML
public void writeXML(QueryCapability qc,
OutputStream os)
throws IOException
- Write the catalog as an XML document to the specified stream.
- Specified by:
writeXML
in interface DqcConvertIF
- Parameters:
qc
- write this QueryCapabilityos
- write to this OutputStream
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.