Top Description Inners Fields Constructors Methods
com.sun.faces.facelets.impl

public Class IdMapper

extends Object
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicInteger, com.sun.faces.util.Cache, .Util, jakarta.faces.context.FacesContext

Used to provide aliases to Facelets generated unique IDs with tend to be womewhat long.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private Cache<String, String>
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
public static IdMapper
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

idCacheback to summary
private Cache<String, String> idCache
KEYback to summary
private static final String KEY

Constructor Detail

IdMapperback to summary
pack-priv IdMapper()

Method Detail

getAliasedIdback to summary
public String getAliasedId(String id)
getMapperback to summary
public static IdMapper getMapper(FacesContext ctx)
setMapperback to summary
public static void setMapper(FacesContext ctx, IdMapper mapper)
com.sun.faces.facelets.impl back to summary

private final Class IdMapper.IdGen

extends Object
implements Cache.Factory<String, String>
Class Inheritance
All Implemented Interfaces
com.sun.faces.util.Cache.Factory, java.util.function.Function

Field Summary

Modifier and TypeField and Description
private AtomicInteger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

counterback to summary
private AtomicInteger counter

Constructor Detail

IdGenback to summary
private IdGen()

Method Detail

newInstanceback to summary
public String newInstance(String arg) throws InterruptedException

Implements com.sun.faces.util.Cache.Factory.newInstance.

Annotations
@Override