PlaceholderDefinition Class
- public class PlaceholderDefinition
extends Object
implements Serializable
This class represents a persistant placeholder.
-
Hierarchy
-
Object
PlaceholderDefinition
-
All Implemented Interfaces
-
Serializable
PlaceholderDefinition
public PlaceholderDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
int location)
- Constructor to create a new
PlaceholderDefinition object.
getLocalizationResource() Method
public LocalizationResource getLocalizationResource()
Returns the LocalizationResource associated with this
PlaceholderDefinition based on the locale of the request used
for retrieving the PlaceholderDefinition.
Returns
LocalizationResource associated with this placeholder
getLocation() Method
public int getLocation()
Returns the location of this placeholder.
Returns
- location
getMarkupDefinitionId() Method
public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this placeholder.
Returns
MarkupDefinitionId
Related Topics
MarkupDefinition
getPlaceholderDefinitionId() Method
public PlaceholderDefinitionId getPlaceholderDefinitionId()
Returns the PlaceholderDefinitionId for this placeholder.
Returns NULL when the PlaceholderDefinition has not been retrieved
by using the persistence API.
Returns
PlaceholderDefinitionId for this placeholder
setLocalizationResource(LocalizationResource) Method
public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this placeholder.
setLocation(int) Method
public void setLocation(int location)
Sets the location of this placeholder.
setMarkupDefinitionId(MarkupDefinitionId) Method
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this placeholder.
toString() Method
public String toString()
-
Overrides
-
Object.toString()