test_class.file: leshan-client-core/src/test/java/org/eclipse/leshan/client/util/LinkFormatHelperTest.java
test_class.identifier: LinkFormatHelperTest
test_case.body: @Test
      public void encode_bootstrap_object_with_version_and_no_instance() {
          Map<Integer, LwM2mInstanceEnabler> instancesMap = new HashMap<>();
          ObjectEnabler objectEnabler = new ObjectEnabler(3, getVersionedObjectModel(3, "2.0"), instancesMap, null,
                  ContentFormat.DEFAULT);
  
          Link[] links = LinkFormatHelper.getBootstrapObjectDescription(objectEnabler);
          String strLinks = Link.serialize(links);
  
          assertEquals("</>;lwm2m=1.0,</3>;ver=2.0", strLinks);
      }
test_case.class_method_signature: LinkFormatHelperTest.encode_bootstrap_object_with_version_and_no_instance()
test_case.full_signature: @Test public void encode_bootstrap_object_with_version_and_no_instance()
test_case.identifier: encode_bootstrap_object_with_version_and_no_instance
test_case.invocations: getVersionedObjectModel getBootstrapObjectDescription serialize assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void encode_bootstrap_object_with_version_and_no_instance()
focal_class.file: leshan-client-core/src/main/java/org/eclipse/leshan/client/util/LinkFormatHelper.java
focal_class.identifier: LinkFormatHelper
focal_class.class_method_signature: LinkFormatHelper.LinkFormatHelper()
focal_class.full_signature: private  LinkFormatHelper()
focal_class.identifier: LinkFormatHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  LinkFormatHelper()
focal_class.class_method_signature: LinkFormatHelper.getClientDescription(Collection<LwM2mObjectEnabler> objectEnablers, String rootPath)
focal_class.full_signature: public static Link[] getClientDescription(Collection<LwM2mObjectEnabler> objectEnablers, String rootPath)
focal_class.identifier: getClientDescription
focal_class.modifiers: public static
focal_class.parameters: (Collection<LwM2mObjectEnabler> objectEnablers, String rootPath)
focal_class.return: Link[]
focal_class.signature: Link[] getClientDescription(Collection<LwM2mObjectEnabler> objectEnablers, String rootPath)
focal_class.class_method_signature: LinkFormatHelper.getBootstrapClientDescription(Collection<LwM2mObjectEnabler> objectEnablers)
focal_class.full_signature: public static Link[] getBootstrapClientDescription(Collection<LwM2mObjectEnabler> objectEnablers)
focal_class.identifier: getBootstrapClientDescription
focal_class.modifiers: public static
focal_class.parameters: (Collection<LwM2mObjectEnabler> objectEnablers)
focal_class.return: Link[]
focal_class.signature: Link[] getBootstrapClientDescription(Collection<LwM2mObjectEnabler> objectEnablers)
focal_class.class_method_signature: LinkFormatHelper.getObjectDescription(LwM2mObjectEnabler objectEnabler, String root)
focal_class.full_signature: public static Link[] getObjectDescription(LwM2mObjectEnabler objectEnabler, String root)
focal_class.identifier: getObjectDescription
focal_class.modifiers: public static
focal_class.parameters: (LwM2mObjectEnabler objectEnabler, String root)
focal_class.return: Link[]
focal_class.signature: Link[] getObjectDescription(LwM2mObjectEnabler objectEnabler, String root)
focal_class.class_method_signature: LinkFormatHelper.getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)
focal_class.full_signature: public static Link[] getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)
focal_class.identifier: getBootstrapObjectDescription
focal_class.modifiers: public static
focal_class.parameters: (LwM2mObjectEnabler objectEnabler)
focal_class.return: Link[]
focal_class.signature: Link[] getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)
focal_class.class_method_signature: LinkFormatHelper.getBootstrapObjectDescriptionWithoutRoot(LwM2mObjectEnabler objectEnabler)
focal_class.full_signature: private static List<Link> getBootstrapObjectDescriptionWithoutRoot(LwM2mObjectEnabler objectEnabler)
focal_class.identifier: getBootstrapObjectDescriptionWithoutRoot
focal_class.modifiers: private static
focal_class.parameters: (LwM2mObjectEnabler objectEnabler)
focal_class.return: List<Link>
focal_class.signature: List<Link> getBootstrapObjectDescriptionWithoutRoot(LwM2mObjectEnabler objectEnabler)
focal_class.class_method_signature: LinkFormatHelper.getInstanceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, String root)
focal_class.full_signature: public static Link[] getInstanceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, String root)
focal_class.identifier: getInstanceDescription
focal_class.modifiers: public static
focal_class.parameters: (LwM2mObjectEnabler objectEnabler, int instanceId, String root)
focal_class.return: Link[]
focal_class.signature: Link[] getInstanceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, String root)
focal_class.class_method_signature: LinkFormatHelper.getResourceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, int resourceId,
              String root)
focal_class.full_signature: public static Link getResourceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, int resourceId,
              String root)
focal_class.identifier: getResourceDescription
focal_class.modifiers: public static
focal_class.parameters: (LwM2mObjectEnabler objectEnabler, int instanceId, int resourceId,
              String root)
focal_class.return: Link
focal_class.signature: Link getResourceDescription(LwM2mObjectEnabler objectEnabler, int instanceId, int resourceId,
              String root)
focal_class.class_method_signature: LinkFormatHelper.getPath(String first, String... more)
focal_class.full_signature: private static final String getPath(String first, String... more)
focal_class.identifier: getPath
focal_class.modifiers: private static final
focal_class.parameters: (String first, String... more)
focal_class.return: String
focal_class.signature: String getPath(String first, String... more)
focal_class.class_method_signature: LinkFormatHelper.normalizeAndCheck(String input)
focal_class.full_signature: private static String normalizeAndCheck(String input)
focal_class.identifier: normalizeAndCheck
focal_class.modifiers: private static
focal_class.parameters: (String input)
focal_class.return: String
focal_class.signature: String normalizeAndCheck(String input)
focal_class.class_method_signature: LinkFormatHelper.checkNotNul(char c)
focal_class.full_signature: private static void checkNotNul(char c)
focal_class.identifier: checkNotNul
focal_class.modifiers: private static
focal_class.parameters: (char c)
focal_class.return: void
focal_class.signature: void checkNotNul(char c)
focal_class.class_method_signature: LinkFormatHelper.normalize(String input, int len, int off)
focal_class.full_signature: private static String normalize(String input, int len, int off)
focal_class.identifier: normalize
focal_class.modifiers: private static
focal_class.parameters: (String input, int len, int off)
focal_class.return: String
focal_class.signature: String normalize(String input, int len, int off)
focal_class.class_method_signature: LinkFormatHelper.getObjectAttributes(ObjectModel objectModel)
focal_class.full_signature: private static Map<String, String> getObjectAttributes(ObjectModel objectModel)
focal_class.identifier: getObjectAttributes
focal_class.modifiers: private static
focal_class.parameters: (ObjectModel objectModel)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getObjectAttributes(ObjectModel objectModel)
focal_class.class_method_signature: LinkFormatHelper.getVersion(ObjectModel objectModel)
focal_class.full_signature: private static String getVersion(ObjectModel objectModel)
focal_class.identifier: getVersion
focal_class.modifiers: private static
focal_class.parameters: (ObjectModel objectModel)
focal_class.return: String
focal_class.signature: String getVersion(ObjectModel objectModel)
focal_method.body: public static Link[] getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler) {
          List<Link> links = new ArrayList<>();
          Map<String, String> rootAttributes = new HashMap<>();
          rootAttributes.put("lwm2m", ObjectModel.DEFAULT_VERSION);
          links.add(new Link("/", rootAttributes));
  
          links.addAll(getBootstrapObjectDescriptionWithoutRoot(objectEnabler));
  
          return links.toArray(new Link[] {});
      }
focal_method.class_method_signature: LinkFormatHelper.getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)
focal_method.full_signature: public static Link[] getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)
focal_method.identifier: getBootstrapObjectDescription
focal_method.invocations: put add addAll getBootstrapObjectDescriptionWithoutRoot toArray
focal_method.modifiers: public static
focal_method.parameters: (LwM2mObjectEnabler objectEnabler)
focal_method.return: Link[]
focal_method.signature: Link[] getBootstrapObjectDescription(LwM2mObjectEnabler objectEnabler)