public interface AQSession
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
|
java.text.DateFormat |
getDateFormat()
Obtains
DateFormat for formatting date objects. |
java.text.DateFormat |
getDateTimeFormat()
Obtains
DateFormat for formatting date-time objects. |
java.lang.String |
getId()
Returns a string containing the unique identifier assigned to this session.
|
java.util.Locale |
getLocale()
Returns the session locale.
|
java.text.NumberFormat |
getNumberFormat()
Obtains
DecimalFormat for formatting numbers. |
java.text.DateFormat |
getTimeFormat()
Obtains
DateFormat for formatting time objects. |
void |
invalidate()
Invalidates this session and unbinds any objects bound to it.
|
void |
removeAttribute(java.lang.String name)
Removes the object bound with the specified name from this session.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Binds an object to this session, using the name specified.
|
java.lang.Object getAttribute(java.lang.String name)
name
- Object name.void setAttribute(java.lang.String name, java.lang.Object value)
name
- Object name.value
- Object value.void removeAttribute(java.lang.String name)
name
- Object name.java.lang.String getId()
void invalidate()
java.util.Locale getLocale()
java.text.DateFormat getDateTimeFormat()
DateFormat
for formatting date-time objects.java.text.DateFormat getDateFormat()
DateFormat
for formatting date objects.java.text.DateFormat getTimeFormat()
DateFormat
for formatting time objects.java.text.NumberFormat getNumberFormat()
DecimalFormat
for formatting numbers.
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.