jakarta.faces.view.ViewMetadata
| Modifier and Type | Class and Description |
|---|---|
| private static class | ViewMetadataImpl.
Specific map implementation which wraps the given map in |
| Modifier and Type | Field and Description |
|---|---|
| private DefaultFaceletFactory | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Map | Returns: Constants of the given type.The fully qualified name of the type to collect constants for. type)Collect constants of the given type. |
| public UIViewRoot | createMetadataView(FacesContext
the context)FacesContext for the current requestImplements abstract jakarta.
Creates a new |
| public String | |
| private static void | |
| private static Class |
| faceletFactory | back to summary |
|---|---|
| private DefaultFaceletFactory faceletFactory | |
| viewId | back to summary |
|---|---|
| private final String viewId | |
| ViewMetadataImpl | back to summary |
|---|---|
| public ViewMetadataImpl(String viewId) | |
| collectConstants | back to summary |
|---|---|
| private static Map Collect constants of the given type. That are, all public static final fields of the given type. | |
| createMetadataView | back to summary |
|---|---|
| public UIViewRoot createMetadataView(FacesContext context) Implements abstract jakarta. Doc from jakarta.
Creates a new Take note a compliant implementation has to ensure that:
| |
| getViewId | back to summary |
|---|---|
| public String getViewId() Implements abstract jakarta. Doc from jakarta. Get the view id
| |
| importConstantsIfNecessary | back to summary |
|---|---|
| private static void importConstantsIfNecessary(FacesContext context, UIViewRoot root) | |
| toClass | back to summary |
|---|---|
| private static Class Convert the given type, which should represent a fully qualified name, to a concrete
| |
Collections#unmodifiableMap(Map) and throws an
IllegalArgumentException in ConstantsMap#get(Object) method when the key doesn't exist at all.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
object to be compared for equality with this map object)Overrides java. Implements java. Compares the specified object with this map for equality. |
| public Object | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. Returns the value to which the specified key is mapped,
or |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this map. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private String type | |
| ConstantsMap | back to summary |
|---|---|
| public ConstantsMap(Map<String, Object> map, String type) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. Implements java. Doc from java. Compares the specified object with this map for equality. Returns
| |
| get | back to summary |
|---|---|
| public Object get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
A return value of
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this map. The hash code of a map is
defined to be the sum of the hash codes of each entry in the map's
| |