org.apache.myfaces.trinidadinternal.metadata
Class RegionMetadata
java.lang.Object
org.apache.myfaces.trinidad.config.RegionManager
org.apache.myfaces.trinidadinternal.metadata.RegionMetadata
public final class RegionMetadata
- extends org.apache.myfaces.trinidad.config.RegionManager
This class contains metadata for region components.
- Author:
- The Oracle ADF Faces Team
Method Summary |
org.apache.myfaces.trinidad.config.RegionConfig |
getRegionConfig(java.lang.String regionType)
|
java.util.Map<java.lang.String,org.apache.myfaces.trinidad.config.RegionConfig> |
getRegionConfigs()
|
static RegionMetadata |
getRegionMetadata(javax.faces.context.FacesContext context)
Gets the RegionMetadata. |
static void |
invalidate(javax.faces.context.FacesContext context)
Invalidates the cached RegionMetadata. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRegionConfig
public org.apache.myfaces.trinidad.config.RegionConfig getRegionConfig(java.lang.String regionType)
- Specified by:
getRegionConfig
in class org.apache.myfaces.trinidad.config.RegionManager
getRegionConfigs
public java.util.Map<java.lang.String,org.apache.myfaces.trinidad.config.RegionConfig> getRegionConfigs()
- Specified by:
getRegionConfigs
in class org.apache.myfaces.trinidad.config.RegionManager
getRegionMetadata
public static RegionMetadata getRegionMetadata(javax.faces.context.FacesContext context)
- Gets the RegionMetadata.
Initially this will parse the region metadata files to create and cache
an instance of this metadata object.
All resources with the name "/META-INF/region-metadata.xml" will be searched.
/WEB-INF/region-metadata.xml will also be searched.
invalidate
public static void invalidate(javax.faces.context.FacesContext context)
- Invalidates the cached RegionMetadata.
The next time
getRegionMetadata(javax.faces.context.FacesContext)
is called, it
will reparse all the region-metadata.xml files.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.