public class TemplateInitializer extends Object
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
TemplateInitializer(PolymerTemplate<?> template,
TemplateParser parser,
VaadinService service)
Creates a new initializer instance.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getTwoWayBindingPaths()
Gets a set of two way binding paths encountered in the template.
|
static Optional<Class<? extends Component>> |
getUsesClass(Class<? extends PolymerTemplate<?>> templateType,
String tagName)
Looks for a component class with the given tag name among the classes
used by the given polymer template class.
|
void |
initChildElements()
Initializes child elements.
|
public TemplateInitializer(PolymerTemplate<?> template, TemplateParser parser, VaadinService service)
template
- a template to initializeparser
- a template parser instanceservice
- the related servicepublic void initChildElements()
public Set<String> getTwoWayBindingPaths()
public static Optional<Class<? extends Component>> getUsesClass(Class<? extends PolymerTemplate<?>> templateType, String tagName)
@Uses
annotation.templateType
- the polymer template typetagName
- the tag name to look forCopyright © 2025. All rights reserved.