|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.services.impl.DefaultParserDelegate
public class DefaultParserDelegate
Default implementation of ITemplateParserDelegate
.
Constructor Summary | |
---|---|
DefaultParserDelegate(IComponent component,
String componentAttributeName,
IRequestCycle cycle,
ComponentSpecificationResolver resolver)
|
Method Summary | |
---|---|
boolean |
getAllowBody(String componentId,
org.apache.hivemind.Location location)
Returns true if the specified component allows a body, false otherwise. |
boolean |
getAllowBody(String libraryId,
String type,
org.apache.hivemind.Location location)
Used with implicit components to determine if the component allows a body or not. |
String |
getComponentAttributeName()
Returns the name of the attribute used to indicate a component. |
boolean |
getKnownComponent(String componentId)
Returns true if the component id is valid, false if the component id is not recognized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultParserDelegate(IComponent component, String componentAttributeName, IRequestCycle cycle, ComponentSpecificationResolver resolver)
Method Detail |
---|
public boolean getKnownComponent(String componentId)
ITemplateParserDelegate
getKnownComponent
in interface ITemplateParserDelegate
public boolean getAllowBody(String componentId, org.apache.hivemind.Location location)
ITemplateParserDelegate
getAllowBody
in interface ITemplateParserDelegate
public boolean getAllowBody(String libraryId, String type, org.apache.hivemind.Location location)
ITemplateParserDelegate
getAllowBody
in interface ITemplateParserDelegate
libraryId
- the specified library id, possibly nulltype
- the component typepublic String getComponentAttributeName()
ITemplateParserDelegate
getComponentAttributeName
in interface ITemplateParserDelegate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |