|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.StartComponentToken
public class StartComponentToken
The start element of a component within the template. Will be followed by a series of AttributeTokens for any attributes (outside of id and type), and eventually
will be balanced by an EndElementToken.
| Constructor Summary | |
|---|---|
StartComponentToken(String elementName,
String id,
String type,
String mixins,
Location location)
|
|
| Method Summary | |
|---|---|
String |
getComponentType()
Returns a non-blank component type if one was provided in the template. |
String |
getElementName()
Returns the element for this component. |
String |
getId()
Returns a non-blank id if one was provided in the template. |
String |
getMixins()
Returns the list of mixins for this component instance, or null for no mixins. |
String |
toString()
|
| Methods inherited from class org.apache.tapestry5.internal.parser.TemplateToken |
|---|
getTokenType |
| Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable |
|---|
getLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StartComponentToken(String elementName,
String id,
String type,
String mixins,
Location location)
elementName - the name of the element from which this component was parsed, or null if the element was the
t:comp placeholderid - the id of the component (may be null for anonymous components)type - the type of component (may be null if the component type is specified outside the template)mixins - a comma-separated list of mixins (possibly null)location - the location within the template at which the element was parsed| Method Detail |
|---|
public String getElementName()
public String getId()
public String getComponentType()
public String toString()
toString in class Objectpublic String getMixins()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||