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, writeVariable
protected 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
DapException
public static void setASCII(boolean tf)
public static int getRowCount()
public static void setRowCount(int count)
public void generate(CEConstraint ce, ChunkWriter cw) throws DapException
DapException
public void generate(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws DapException
DapException
public void begin(CEConstraint ce, ChunkWriter cw, boolean withdmr) throws DapException
DapException
public void end() throws DapException
DapException
public void generateDMR(DapDataset dmr) throws DapException
DapException
public void dataset(DapDataset dmr) throws DapException
DapException
public void variable(DapVariable dapvar) throws DapException
DapException
public void atomicVariable(DapAtomicVariable dapvar) throws DapException
DapException
public void structure(DapStructure struct) throws DapException
DapException
public void sequence(DapSequence seq) throws DapException
DapException
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.