| org.apache.tapestry.internal.parser.TemplateToken org.apache.tapestry.internal.parser.StartComponentToken
StartComponentToken | public StartComponentToken(String elementName, String id, String type, String mixins, Location location)(Code) | | Parameters: elementName - the name of the element from which this component was parsed, or null if theelement was the t:comp placeholder Parameters: id - the id of the component (may be null for anonymous components) Parameters: type - the type of component (may be null if the component type is specified outside thetemplate) Parameters: mixins - a comma-separated list of mixins (possibly null) Parameters: location - the location within the template at which the element was parsed |
getComponentType | public String getComponentType()(Code) | | Returns a non-blank component type if one was provided in the template. If the type attribute
was missing (or the value was blank), returns null.
|
getElementName | public String getElementName()(Code) | | Returns the element for this component. When using the <t:comp> placeholder, this value
will be null. When using "invisible instrumentation", where t:id or t:type attributes are
added to existing elements, this is the local name of the element so attached.
the element name or null |
getId | public String getId()(Code) | | Returns a non-blank id if one was provided in the template. If the id attribute was missing
(or the value was blank), returns null.
|
getMixins | public String getMixins()(Code) | | Returns the list of mixins for this component instance, or null for no mixins.
|
|
|