public final class PageTemplate extends com.yahoo.component.provider.FreezableComponent implements PageElement
Constructor and Description |
---|
PageTemplate(com.yahoo.component.ComponentId id) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PageTemplateVisitor visitor)
Accepts a visitor to this structure
|
void |
freeze() |
Section |
getSection()
Returns the root section of this.
|
Set<Source> |
getSources()
Returns an unmodifiable set of all the sources this template may include (depending on choice resolution).
|
void |
setSection(Section section) |
String |
toString() |
clone, ensureNotFrozen, isFrozen
compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable
public void setSection(Section section)
public Section getSection()
public Set<Source> getSources()
public void freeze()
freeze
in interface com.yahoo.component.provider.Freezable
freeze
in class com.yahoo.component.provider.FreezableComponent
public void accept(PageTemplateVisitor visitor)
accept
in interface PageElement
public String toString()
toString
in class com.yahoo.component.AbstractComponent
Copyright © 2018. All rights reserved.