test_class.declarator: POS_OFFSET_WP_LINE_EXAMPLE = 150
test_class.modifier: private static final
test_class.original_string: private static final int POS_OFFSET_WP_LINE_EXAMPLE = 150;
test_class.type: int
test_class.var_name: POS_OFFSET_WP_LINE_EXAMPLE
test_class.declarator: XML_ENCODER = new OpenLRXMLEncoder()
test_class.modifier: private static final
test_class.original_string: private static final OpenLRXMLEncoder XML_ENCODER = new OpenLRXMLEncoder();
test_class.type: OpenLRXMLEncoder
test_class.var_name: XML_ENCODER
test_class.declarator: pointsWPLineExample
test_class.modifier: private
test_class.original_string: private List<LocationReferencePoint> pointsWPLineExample;
test_class.type: List<LocationReferencePoint>
test_class.var_name: pointsWPLineExample
test_class.declarator: nullOffsets
test_class.modifier: private
test_class.original_string: private Offsets nullOffsets;
test_class.type: Offsets
test_class.var_name: nullOffsets
test_class.declarator: offsetsWPLine
test_class.modifier: private
test_class.original_string: private Offsets offsetsWPLine;
test_class.type: Offsets
test_class.var_name: offsetsWPLine
test_class.declarator: lineLocWhitePaperExample
test_class.modifier: private
test_class.original_string: private RawLocationReference lineLocWhitePaperExample;
test_class.type: RawLocationReference
test_class.var_name: lineLocWhitePaperExample
test_class.declarator: validEncodeLocation
test_class.modifier: private
test_class.original_string: private LocationReference validEncodeLocation;
test_class.type: LocationReference
test_class.var_name: validEncodeLocation
test_class.file: xml/src/test/java/openlr/xml/OpenLRXMLEncoderTest.java
test_class.identifier: OpenLRXMLEncoderTest
test_case.body: @Test
      public final void testMissingOffsets() {
          RawLineLocRef rawLoc = new RawLineLocRef("1",
                  new ArrayList<LocationReferencePoint>(), null);
          LocationReference locRef = XML_ENCODER.encodeData(rawLoc);
          assertFalse(locRef.isValid());
  
      }
test_case.class_method_signature: OpenLRXMLEncoderTest.testMissingOffsets()
test_case.full_signature: @Test public final void testMissingOffsets()
test_case.identifier: testMissingOffsets
test_case.invocations: encodeData assertFalse isValid
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMissingOffsets()
focal_class.declarator: VERSIONS = {1}
focal_class.modifier: private static final
focal_class.original_string: private static final int[] VERSIONS = {1};
focal_class.type: int[]
focal_class.var_name: VERSIONS
focal_class.file: xml/src/main/java/openlr/xml/OpenLRXMLEncoder.java
focal_class.identifier: OpenLRXMLEncoder
focal_class.interfaces: implements PhysicalEncoder
focal_class.class_method_signature: OpenLRXMLEncoder.getDataClass()
focal_class.full_signature: public final Class<?> getDataClass()
focal_class.identifier: getDataClass
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Class<?>
focal_class.signature: Class<?> getDataClass()
focal_class.class_method_signature: OpenLRXMLEncoder.getDataFormatIdentifier()
focal_class.full_signature: public final String getDataFormatIdentifier()
focal_class.identifier: getDataFormatIdentifier
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDataFormatIdentifier()
focal_class.class_method_signature: OpenLRXMLEncoder.getSupportedVersions()
focal_class.full_signature: public final int[] getSupportedVersions()
focal_class.identifier: getSupportedVersions
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] getSupportedVersions()
focal_class.class_method_signature: OpenLRXMLEncoder.encodeData(
              final RawLocationReference rawLocRef)
focal_class.full_signature: public final LocationReference encodeData(
              final RawLocationReference rawLocRef)
focal_class.identifier: encodeData
focal_class.modifiers: public final
focal_class.parameters: (
              final RawLocationReference rawLocRef)
focal_class.return: LocationReference
focal_class.signature: LocationReference encodeData(
              final RawLocationReference rawLocRef)
focal_class.class_method_signature: OpenLRXMLEncoder.checkVersion(final int ver)
focal_class.full_signature: private boolean checkVersion(final int ver)
focal_class.identifier: checkVersion
focal_class.modifiers: private
focal_class.parameters: (final int ver)
focal_class.return: boolean
focal_class.signature: boolean checkVersion(final int ver)
focal_class.class_method_signature: OpenLRXMLEncoder.encodeData(
              final RawLocationReference rawLocRef, final int version)
focal_class.full_signature: public final LocationReference encodeData(
              final RawLocationReference rawLocRef, final int version)
focal_class.identifier: encodeData
focal_class.modifiers: public final
focal_class.parameters: (
              final RawLocationReference rawLocRef, final int version)
focal_class.return: LocationReference
focal_class.signature: LocationReference encodeData(
              final RawLocationReference rawLocRef, final int version)
focal_method.body: public final LocationReference encodeData(
              final RawLocationReference rawLocRef) {
          return encodeData(rawLocRef, VERSIONS[VERSIONS.length - 1]);
      }
focal_method.class_method_signature: OpenLRXMLEncoder.encodeData(
              final RawLocationReference rawLocRef)
focal_method.full_signature: public final LocationReference encodeData(
              final RawLocationReference rawLocRef)
focal_method.identifier: encodeData
focal_method.invocations: encodeData
focal_method.modifiers: public final
focal_method.parameters: (
              final RawLocationReference rawLocRef)
focal_method.return: LocationReference
focal_method.signature: LocationReference encodeData(
              final RawLocationReference rawLocRef)