public interface ITemplateParserDelegate
TemplateParser
with additional information about dynamic components.Modifier and Type | Method and Description |
---|---|
boolean |
getAllowBody(java.lang.String componentId,
org.apache.hivemind.Location location)
Returns true if the specified component allows a body, false otherwise.
|
boolean |
getAllowBody(java.lang.String libraryId,
java.lang.String type,
org.apache.hivemind.Location location)
Used with implicit components to determine if the component allows a body or not.
|
java.lang.String |
getComponentAttributeName()
Returns the name of the attribute used to indicate a component.
|
boolean |
getKnownComponent(java.lang.String componentId)
Returns true if the component id is valid, false if the component id is not recognized.
|
boolean getKnownComponent(java.lang.String componentId)
boolean getAllowBody(java.lang.String componentId, org.apache.hivemind.Location location)
org.apache.tapestry.ApplicationRuntimeException
- if no such component existsboolean getAllowBody(java.lang.String libraryId, java.lang.String type, org.apache.hivemind.Location location)
libraryId
- the specified library id, possibly nulltype
- the component typeorg.apache.tapestry.ApplicationRuntimeException
- if the specification cannot be foundjava.lang.String getComponentAttributeName()