public class ComponentRepository extends java.lang.Object implements CLogConstants
BaseComponent and
BaseComponentTag.
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentRepository.ComponentInfo
Certain information about a component which is required in...
|
static class |
ComponentRepository.TLDInfo |
LL_DBG, LL_ERR, LL_INF, LL_WAR| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfAttributeIsAReference(java.lang.String attrName)
Certain attributes represent a link to a file that is kept inside
the web application.
|
static boolean |
checkIfAttributeIsCCDefault(java.lang.String attrName)
Certain attributes are general CaptainCasa attributes that are applied
to most of the components - without any rendering aspect.
|
static boolean |
checkIfAttributeNameIsServerOnly(java.lang.String attrName)
Certain attributes of a tag are never transferred to the client,
because they are for server side use only.
|
static boolean |
checkIfControlLibraryIsRegistered(java.lang.String prefix) |
static boolean |
checkIfKeyIsAnAction(java.lang.String key) |
ComponentRepository.ComponentInfo |
getComponentInfo(java.lang.String tag) |
java.util.Collection<ComponentRepository.ComponentInfo> |
getComponentInfos()
Get information on all components that are part of the control
library.
|
static ComponentRepository |
getDesignTimeInstance(java.lang.String prefix) |
static ComponentRepository.TLDInfo[] |
getDesignTimeTLDInfos() |
static ComponentRepository.TLDInfo[] |
getDesignTimeTLDInfosTFIRST()
Read all libraries, return the default t: library as the first one
|
static ComponentRepository |
getInstance(java.lang.String prefix)
Factory for repositories.
|
static ComponentRepository.TLDInfo |
getRunTimeTLDInfo(java.lang.String prefix)
Read TLD info for prefix.
|
static ComponentRepository.TLDInfo[] |
getRunTimeTLDInfos() |
static ComponentRepository.TLDInfo[] |
getRunTimeTLDInfosTFIRST()
Read all libraries, return the default t: library as the first one
|
static java.lang.String[] |
getTagNameForComponentClass(java.lang.Class componentClass) |
static java.lang.String[] |
getTagNameForComponentTagClass(java.lang.Class componentTagClass) |
static ComponentRepository.TLDInfo |
getTLDInfo(java.lang.String prefix)
Get basic information about a registered tag library.
|
static void |
registerDesignTimeLibrary(ProjectInfo.DesignTimeTLDInfo info) |
static void |
registerLibrary(ComponentRepository.TLDInfo info)
Registration of libraries that are used within the CaptainCasa component
processing.
|
static void |
registerServerOnlyAttribute(java.lang.String attribute)
Register attribute which is never send to the client processing.
|
static void |
unregisterAllDesignTimeLibraries()
Unregisters all extended libraries - this function is used within the editor environment.
|
public static void registerLibrary(ComponentRepository.TLDInfo info)
prefix - Prefix of the library, e.g. "t".public static void registerDesignTimeLibrary(ProjectInfo.DesignTimeTLDInfo info)
public static void unregisterAllDesignTimeLibraries()
public static ComponentRepository.TLDInfo getTLDInfo(java.lang.String prefix)
public static ComponentRepository.TLDInfo[] getRunTimeTLDInfos()
public static ComponentRepository.TLDInfo[] getDesignTimeTLDInfos()
public static ComponentRepository.TLDInfo getRunTimeTLDInfo(java.lang.String prefix)
public static ComponentRepository.TLDInfo[] getRunTimeTLDInfosTFIRST()
public static ComponentRepository.TLDInfo[] getDesignTimeTLDInfosTFIRST()
public static void registerServerOnlyAttribute(java.lang.String attribute)
public static ComponentRepository getInstance(java.lang.String prefix)
public static ComponentRepository getDesignTimeInstance(java.lang.String prefix)
public static boolean checkIfControlLibraryIsRegistered(java.lang.String prefix)
public ComponentRepository.ComponentInfo getComponentInfo(java.lang.String tag)
public java.util.Collection<ComponentRepository.ComponentInfo> getComponentInfos()
public static java.lang.String[] getTagNameForComponentClass(java.lang.Class componentClass)
public static java.lang.String[] getTagNameForComponentTagClass(java.lang.Class componentTagClass)
public static boolean checkIfKeyIsAnAction(java.lang.String key)
public static boolean checkIfAttributeNameIsServerOnly(java.lang.String attrName)
public static boolean checkIfAttributeIsAReference(java.lang.String attrName)
public static boolean checkIfAttributeIsCCDefault(java.lang.String attrName)
Copyright © CaptainCasa Gmbh. All Rights Reserved.