public class MarshallingUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static ucar.nc2.time.CalendarDate |
fixedGenerationDate |
static ucar.nc2.time.CalendarDate |
fixedResultTime |
| Modifier and Type | Method and Description |
|---|---|
static String |
createIdForType(Class<?> clazz) |
static void |
marshalPointDataset(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
List<ucar.nc2.VariableSimpleIF> dataVars,
OutputStream outputStream) |
static void |
marshalPointDataset(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
OutputStream outputStream) |
static void |
resetIds() |
static void |
validate(org.apache.xmlbeans.XmlObject doc,
boolean strict)
Validates an xml doc.
|
static void |
writeObject(org.apache.xmlbeans.XmlObject doc,
OutputStream out,
boolean validate) |
public static ucar.nc2.time.CalendarDate fixedGenerationDate
public static ucar.nc2.time.CalendarDate fixedResultTime
public static void resetIds()
public static void marshalPointDataset(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
OutputStream outputStream)
throws IOException,
org.apache.xmlbeans.XmlException
IOExceptionorg.apache.xmlbeans.XmlExceptionpublic static void marshalPointDataset(ucar.nc2.ft.FeatureDatasetPoint fdPoint,
List<ucar.nc2.VariableSimpleIF> dataVars,
OutputStream outputStream)
throws IOException,
org.apache.xmlbeans.XmlException
IOExceptionorg.apache.xmlbeans.XmlExceptionpublic static void writeObject(org.apache.xmlbeans.XmlObject doc,
OutputStream out,
boolean validate)
throws IOException,
org.apache.xmlbeans.XmlException
IOExceptionorg.apache.xmlbeans.XmlExceptionpublic static void validate(org.apache.xmlbeans.XmlObject doc,
boolean strict)
throws org.apache.xmlbeans.XmlException
doc - the document to validateorg.apache.xmlbeans.XmlException - thrown if the XML is incorrect