public class Placeholder extends Object implements PageElement
Modifier and Type | Field and Description |
---|---|
private String |
id |
private MapChoice |
valueContainer |
Constructor and Description |
---|
Placeholder(String id)
Creates a source placeholder with an id.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(PageTemplateVisitor visitor)
Accepts a visitor to this structure
|
void |
freeze() |
String |
getId() |
MapChoice |
getValueContainer()
Returns the element which contains the value(s) of this placeholder.
|
boolean |
isFrozen()
This method always returns false, is a Placeholder always is mutable.
|
void |
setValueContainer(MapChoice valueContainer) |
String |
toString() |
public Placeholder(String id)
public String getId()
public MapChoice getValueContainer()
public void setValueContainer(MapChoice valueContainer)
public void freeze()
freeze
in interface com.yahoo.component.provider.Freezable
public void accept(PageTemplateVisitor visitor)
accept
in interface PageElement
public boolean isFrozen()
isFrozen
in interface com.yahoo.component.provider.Freezable
Copyright © 2018. All rights reserved.