code: @Override
      public ObjectMap<String, LmlAttribute<?>> getAttributesForActor(final Object actor) {
          final ObjectMap<String, LmlAttribute<?>> attributes = GdxMaps.newObjectMap();
          if (actor == null) {
              return attributes;
          }
          Class<?> actorClass = actor.getClass();
          while (actorClass != null) {
              attributes.putAll(attributeProcessors.get(actorClass));
              actorClass = actorClass.getSuperclass();
          }
          return attributes;
      }
docs: DTD utility methods: