Name
BigIntegerConverter
Synopsis
An instance of this class is used
as a
Converter
for
java.math.BigInteger
values.
Synopsis
Class name: |
javax.faces.convert.BigIntegerConverter |
Extends: |
None |
Implements: |
javax.faces.convert.Converter |
Fields
-
public static final String CONVERTER_ID
The identifier for this converter:
javax.faces.BigInteger
.
Constructors
-
public BigIntegerConverter()
Creates an instance.
Methods
-
public Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
Converts the provided
String
value (which can benull
) to aBigInteger
instance and returns the new instance. Throws aConverterException
if the conversion fails.-
public String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
Converts the provided
BigInteger
value (which can benull
) to aString
instance and returns the new instance. Throws aConverterException
if the conversion fails.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.