|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.engine.TemplateParserDelegateImpl
public class TemplateParserDelegateImpl
Basic implementation of the ITemplateParserDelegate
interface.
Constructor Summary | |
---|---|
TemplateParserDelegateImpl(IComponent component,
IRequestCycle cycle)
|
Method Summary | |
---|---|
boolean |
getAllowBody(String componentId,
ILocation location)
Returns true if the specified component allows a body, false otherwise. |
boolean |
getAllowBody(String libraryId,
String type,
ILocation location)
Used with implicit components to determine if the component allows a body or not. |
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 TemplateParserDelegateImpl(IComponent component, IRequestCycle cycle)
Method Detail |
---|
public boolean getKnownComponent(String componentId)
ITemplateParserDelegate
getKnownComponent
in interface ITemplateParserDelegate
public boolean getAllowBody(String componentId, ILocation location)
ITemplateParserDelegate
getAllowBody
in interface ITemplateParserDelegate
public boolean getAllowBody(String libraryId, String type, ILocation location)
ITemplateParserDelegate
getAllowBody
in interface ITemplateParserDelegate
libraryId
- the specified library id, possibly nulltype
- the component type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |