public class DMRPrint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
NILFLAGS |
protected static int |
NONAME |
protected static int |
NONNIL |
protected static int |
PERLINE |
protected dap4.core.util.IndentWriter |
printer |
protected java.io.PrintWriter |
writer |
| Constructor and Description |
|---|
DMRPrint() |
DMRPrint(java.io.PrintWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
protected static java.lang.String |
getPrintValue(java.lang.Object value) |
protected static boolean |
hasDimensions(dap4.core.dmr.DapVariable var) |
protected static boolean |
hasMaps(dap4.core.dmr.DapVariable var) |
protected static boolean |
hasMetadata(dap4.core.dmr.DapNode node) |
void |
printDMR(CEConstraint ce,
dap4.core.dmr.DapDataset dmr) |
void |
printDMR(dap4.core.dmr.DapDataset dataset)
Print a DapDataset:
- as DMR
- optionally constrained
|
protected static final int NILFLAGS
protected static final int PERLINE
protected static final int NONAME
protected static final int NONNIL
protected java.io.PrintWriter writer
protected dap4.core.util.IndentWriter printer
public void flush()
public void close()
public void printDMR(dap4.core.dmr.DapDataset dataset)
throws java.io.IOException
dataset - java.io.IOExceptionpublic void printDMR(CEConstraint ce, dap4.core.dmr.DapDataset dmr) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String getPrintValue(java.lang.Object value)
protected static boolean hasMetadata(dap4.core.dmr.DapNode node)
protected static boolean hasMaps(dap4.core.dmr.DapVariable var)
protected static boolean hasDimensions(dap4.core.dmr.DapVariable var)