|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.ads.AdBeanInterface.Context
public static final class AdBeanInterface.Context
Details context in which advertisement is to be shown. Is immutable for thread-safety, etc.
Context items may be null, indicating that they are not applicable to this particular context, but any items that are non-null must be mutually consistent.
A generation routine is generally free to ignore all of the supplied data if it wishes to.
| Field Summary | |
|---|---|
private java.lang.String |
exhibit
The immutable details of the exhibit close to this ad, or null. |
private java.lang.String |
gallerySection
The gallery section (top-level directory, or null. |
private java.util.Locale |
locale
The Locale of the visitor, or null. |
| Constructor Summary | |
|---|---|
AdBeanInterface.Context(java.util.Locale loc,
java.lang.String section,
java.lang.String exhibitName)
Construct a complete context. |
|
| Method Summary | |
|---|---|
java.lang.String |
getExhibit()
Get the full name of the exhibit connected with this ad, or null if none relevant. |
java.lang.String |
getGallerySection()
Get the gallery section (top-level directory) for this ad, or null if none relevant. |
java.util.Locale |
getLocale()
Get the locale of the visitor, or null if none specified or relevant. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.Locale locale
private final java.lang.String gallerySection
private final java.lang.String exhibit
| Constructor Detail |
|---|
public AdBeanInterface.Context(java.util.Locale loc,
java.lang.String section,
java.lang.String exhibitName)
loc - if non-null, the preferred localesection - if non-null, the appropriate top-level Gallery sectionexhibitName - if non-null, is the full name of the specific exhibit associated with this page| Method Detail |
|---|
public java.util.Locale getLocale()
public java.lang.String getGallerySection()
public java.lang.String getExhibit()
|
DHD Multimedia Gallery V1.53.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||