public interface ComponentTemplate
Modifier and Type | Method and Description |
---|---|
Map<String,Location> |
getComponentIds()
Identifies
StartComponentToken s with a non-blank id, mapping the
id to its location (within the template). |
List<TemplateToken> |
getExtensionPointTokens(String extensionPointId)
Returns a list of tokens associated with an extension point, or null if this template neither defines the
extension point nor overrides it.
|
Resource |
getResource()
Returns the resource that was parsed to form the template.
|
List<TemplateToken> |
getTokens()
Returns a list of tokens that were parsed from the template.
|
boolean |
isExtension()
Returns true if this component template is an extension of its parent class' template.
|
boolean |
isMissing()
Returns true if no template could be found for the component.
|
boolean |
usesStrictMixinParameters()
Indicates whether lax (the old default) or strict (the new default) mixin parameters are used.
|
boolean isMissing()
boolean isExtension()
boolean usesStrictMixinParameters()
List<TemplateToken> getExtensionPointTokens(String extensionPointId)
extensionPointId
- Resource getResource()
List<TemplateToken> getTokens()
Map<String,Location> getComponentIds()
StartComponentToken
s with a non-blank id, mapping the
id to its location (within the template). This is used to report unmatched ids (where the component, or its
super-classes, do not define an embedded component).${project.version} - Copyright © 2003-2015 The Apache Software Foundation.