@Test public final void testWhitePaperLineLocation() { LocationReference ref = XML_ENCODER .encodeData(lineLocWhitePaperExample); XMLLocationReference xmlLoc = ((OpenLR) ref.getLocationReferenceData()) .getXMLLocationReference(); LineLocationReference lineLoc = xmlLoc.getLineLocationReference(); Utils.checkLRPs(lineLoc.getLocationReferencePoint(), lineLoc.getLastLocationReferencePoint(), pointsWPLineExample); Utils.checkOffsets(lineLoc.getOffsets(), offsetsWPLine); validEncodeLocation = ref; }
public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }
OpenLRXMLEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); } }
OpenLRXMLEncoder implements PhysicalEncoder { public final LocationReference encodeData( final RawLocationReference rawLocRef) { return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]); }  }
OpenLRXMLEncoder 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); }
OpenLRXMLEncoder 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);  }