code: @Deprecated
      public static CmsJspNavElement getNavigationForResource(CmsObject cms, String resource) {
  
          return new CmsJspNavBuilder(cms).getNavigationForResource(resource);
      }
docs: Returns a navigation element for the named resource.<p>
  
  @param cms context provider for the current request
  @param resource the resource name to get the navigation information for,
  must be a full path name, e.g. "/docs/index.html"
  
  @return a navigation element for the given resource
  
  @deprecated use {@link #getNavigationForResource(String)} instead