@Test public final void testValidWithNoOffsets() { LocationReference ref = null; ref = BINARY_ENCODER.encodeData(lineLocRefValidOffset0); assertTrue(ref.isValid()); if (!"binary".equals(ref.getDataIdentifier())) { fail("Invalid data identifier"); } if (!checkDataClass(ref)) { fail("invalid data class"); } assertSame(ref.getVersion(), OpenLRBinaryConstants.LATEST_BINARY_VERSION); Utils.checkBinData((ByteArray) ref.getLocationReferenceData(), DATA_VALID_NO_OFFSETS_V3, OpenLRBinaryConstants.LATEST_BINARY_VERSION); }
public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }
OpenLRBinaryEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); } }
OpenLRBinaryEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }  }
OpenLRBinaryEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }  final Class<?> getDataClass(); final String getDataFormatIdentifier(); final int[] getSupportedVersions(); final LocationReference encodeData(
            final RawLocationReference rawLocRef); final LocationReference encodeData(
            final RawLocationReference rawLocRef, final int version); }
OpenLRBinaryEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }  final Class<?> getDataClass(); final String getDataFormatIdentifier(); final int[] getSupportedVersions(); final LocationReference encodeData(
            final RawLocationReference rawLocRef); final LocationReference encodeData(
            final RawLocationReference rawLocRef, final int version);  }