@ElementReaderMetadata(name="0 or 1", elementType=BooleanElement.class, processedType=java.lang.Byte.class, hidden=true) public class BooleanToByteReader extends Object implements ElementReader<BooleanElement,Byte>
Modifier and Type | Field and Description |
---|---|
private static byte |
f |
private static byte |
t |
Constructor and Description |
---|
BooleanToByteReader() |
Modifier and Type | Method and Description |
---|---|
Byte |
read(BooleanElement elementToRead)
Convert "underlying" data to "processed" data.
|
private static final byte t
private static final byte f
public Byte read(BooleanElement elementToRead) throws SlideSetException
ElementReader
read
in interface ElementReader<BooleanElement,Byte>
elementToRead
- The DataElement
containing
the "underlying" data which should be translated.SlideSetException
Copyright © 2023. All rights reserved.