public class Generator extends DapSerializer
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
asciionly |
protected ChunkWriter |
cw |
protected DapDataset |
dmr |
protected ByteArrayOutputStream |
stream |
protected Value |
values |
protected boolean |
withdmr |
| Constructor and Description |
|---|
Generator(DapDataset dmr,
Value.ValueSource src) |
| Modifier and Type | Method and Description |
|---|---|
void |
atomicVariable(DapAtomicVariable dapvar) |
void |
begin(CEConstraint ce,
ChunkWriter cw,
boolean withdmr) |
void |
dataset(DapDataset dmr) |
void |
end() |
void |
generate(CEConstraint ce,
ChunkWriter cw) |
void |
generate(CEConstraint ce,
ChunkWriter cw,
boolean withdmr) |
void |
generateDMR(DapDataset dmr) |
static int |
getRowCount() |
void |
sequence(DapSequence seq) |
static void |
setASCII(boolean tf) |
static void |
setRowCount(int count) |
void |
structure(DapStructure struct) |
void |
variable(DapVariable dapvar) |
write, writeAtomicVariable, writeCompound, writeCompoundArray, writeRecord, writeSequence, writeStructure, writeVariableprotected static boolean asciionly
protected Value values
protected ByteArrayOutputStream stream
protected ChunkWriter cw
protected boolean withdmr
protected DapDataset dmr
public Generator(DapDataset dmr, Value.ValueSource src) throws DapException
DapExceptionpublic static void setASCII(boolean tf)
public static int getRowCount()
public static void setRowCount(int count)
public void generate(CEConstraint ce, ChunkWriter cw) throws DapException
DapExceptionpublic void generate(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws DapException
DapExceptionpublic void begin(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws DapException
DapExceptionpublic void end()
throws DapException
DapExceptionpublic void generateDMR(DapDataset dmr) throws DapException
DapExceptionpublic void dataset(DapDataset dmr) throws DapException
DapExceptionpublic void variable(DapVariable dapvar) throws DapException
DapExceptionpublic void atomicVariable(DapAtomicVariable dapvar) throws DapException
DapExceptionpublic void structure(DapStructure struct) throws DapException
DapExceptionpublic void sequence(DapSequence seq) throws DapException
DapExceptionCopyright © 1999-2015 UCAR/Unidata. All Rights Reserved.