Package org.apache.tapestry5.internal
Class PropertyOverridesImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.PropertyOverridesImpl
-
- All Implemented Interfaces:
PropertyOverrides
public class PropertyOverridesImpl extends Object implements PropertyOverrides
-
-
Constructor Summary
Constructors Constructor Description PropertyOverridesImpl(ComponentResources resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
getOverrideBlock(String name)
Searches for an override block with the given name.Messages
getOverrideMessages()
Returns the override messages (normally, the messages catalog for the component's container).
-
-
-
Constructor Detail
-
PropertyOverridesImpl
public PropertyOverridesImpl(ComponentResources resources)
-
-
Method Detail
-
getOverrideBlock
public Block getOverrideBlock(String name)
Description copied from interface:PropertyOverrides
Searches for an override block with the given name.- Specified by:
getOverrideBlock
in interfacePropertyOverrides
- Parameters:
name
- the name of the block (typically, an informal parameter to a component)- Returns:
- the block if found, or null if not found
-
getOverrideMessages
public Messages getOverrideMessages()
Description copied from interface:PropertyOverrides
Returns the override messages (normally, the messages catalog for the component's container).- Specified by:
getOverrideMessages
in interfacePropertyOverrides
-
-