public class MarshallingUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CalendarDate |
fixedGenerationDate |
static CalendarDate |
fixedResultTime |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createIdForType(java.lang.Class<?> clazz) |
static void |
marshalPointDataset(FeatureDatasetPoint fdPoint,
java.util.List<VariableSimpleIF> dataVars,
java.io.OutputStream outputStream) |
static void |
marshalPointDataset(FeatureDatasetPoint fdPoint,
java.io.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,
java.io.OutputStream out,
boolean validate) |
public static CalendarDate fixedGenerationDate
public static CalendarDate fixedResultTime
public static java.lang.String createIdForType(java.lang.Class<?> clazz)
public static void resetIds()
public static void marshalPointDataset(FeatureDatasetPoint fdPoint, java.io.OutputStream outputStream) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
org.apache.xmlbeans.XmlException
public static void marshalPointDataset(FeatureDatasetPoint fdPoint, java.util.List<VariableSimpleIF> dataVars, java.io.OutputStream outputStream) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
org.apache.xmlbeans.XmlException
public static void writeObject(org.apache.xmlbeans.XmlObject doc, java.io.OutputStream out, boolean validate) throws java.io.IOException, org.apache.xmlbeans.XmlException
java.io.IOException
org.apache.xmlbeans.XmlException
public 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