Class ComponentClassResolverImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String canonicalizePageName​(java.lang.String pageName)
      Returns the canonical form of a page name.
      java.lang.String getClassName​(java.lang.String logicalName)
      Returns the class name for a page, component or class given its logical name.
      java.util.List<java.lang.String> getComponentNames()
      Returns a list of all component names, in sorted order.
      java.util.Map<java.lang.String,​ControlledPackageType> getControlledPackageMapping()
      Used to identify which packages are controlled packages (from which components are loaded).
      java.util.Map<java.lang.String,​java.lang.String> getFolderToPackageMapping()
      A mapping from virtual folder name to a package name (used for converting classpath Assets to client URLs).
      java.util.Collection<LibraryMapping> getLibraryMappings()
      Returns the library mappings.
      java.lang.String getLibraryNameForClass​(java.lang.String className)
      Given a class name of a component class, returns the library name (as defined by a contributed library name).
      java.util.List<java.lang.String> getLibraryNames()
      Returns the names of all libraries (as configured).
      java.lang.String getLogicalName​(java.lang.String className)
      Returns the logical name for a page, component or mixin fully classified class name.
      java.util.List<java.lang.String> getMixinNames()
      Returns a list of all mixin names, in sorted order.
      java.util.List<java.lang.String> getPageNames()
      Returns a list of all page names, in sorted order.
      boolean isPage​(java.lang.String pageClassName)
      Returns true if the class name is specifically a page class, and not a component, mixin or base class.
      boolean isPageName​(java.lang.String pageName)
      For a particular path, determines if the path is a logical page name.
      void objectWasInvalidated()
      When the class loader is invalidated, clear any cached page names or component types.
      java.lang.String resolveComponentTypeToClassName​(java.lang.String componentType)
      Converts a component type (a logical component name such as might be used inside a template or annotation) into a fully qualified class name.
      java.lang.String resolveMixinTypeToClassName​(java.lang.String mixinType)
      Converts a logical mixin type (as with component types) into a fully qualified class name.
      java.lang.String resolvePageClassNameToPageName​(java.lang.String pageClassName)
      Converts a fully qualified page class name into a page name (often, for inclusion as part of the URI).
      java.lang.String resolvePageNameToClassName​(java.lang.String pageName)
      Converts a logical page name (such as might be encoded into a URL) into a fully qualified class name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait