public class SharedStringBuilder extends Object
Constructor and Description |
---|
SharedStringBuilder() |
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
get(javax.faces.context.FacesContext context,
String key)
Get a shared
StringBuilder instance. |
static StringBuilder |
get(String key)
Get a shared
StringBuilder instance. |
public static StringBuilder get(javax.faces.context.FacesContext context, String key)
StringBuilder
instance.
This is required as e.g. 100 e.g. SearchExpressionFacade.resolveClientId(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.String)
calls would create
300 StringBuilder
instances!context
- The FacesContext
key
- The key for the FacesContext
attributes.StringBuilder
instancepublic static StringBuilder get(String key)
StringBuilder
instance.
This is required as e.g. 100 e.g. SearchExpressionFacade.resolveClientId(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.String)
calls would create
300 StringBuilder
instances!key
- The key for the FacesContext
attributes.StringBuilder
instanceCopyright © 2017. All rights reserved.