com.ibm.portal
Interface MetaDataProvider
- All Known Subinterfaces:
- ModifiableMetaDataProvider, ModifiablePortlet, ModifiablePortletDefinition, ModifiablePortletEntity, ModifiablePortletPreferencesProvider, Portlet, PortletDefinition, PortletEntity, PortletPreferencesProvider
public interface MetaDataProvider
An interface describing a method to obtain meta data for a resource.
This interface is optional and may be implemented by resources providing
meta data.
Coding example:
if (aNode instanceof MetaDataProvider) {
MetaData md = ((MetaDataProvider) aNode).getMetaData();
...
} else {
// no meta data available!
}
- Since:
- 5.1.0.1
getMetaData
MetaData getMetaData()
- Returns the meta data associated with this provider.
- Returns:
- a meta data object, may be
null
.