Package net.sf.jasperreports.engine.part
Interface PartComponentsBundle
-
- All Known Implementing Classes:
DefaultPartComponentsBundle
public interface PartComponentsBundle
A component bundle is a package comprising of one or several components that share the same XML namespace and schema.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<PartComponentManager>
getComponentManager(PartComponent component)
Returns the manager for a component type identified by name.Set<Class<? extends PartComponent>>
getComponentTypes()
Returns a set that contains the types of components included in this bundle.
-
-
-
Method Detail
-
getComponentTypes
Set<Class<? extends PartComponent>> getComponentTypes()
Returns a set that contains the types of components included in this bundle.- Returns:
- the set of component types in this bundle
-
getComponentManager
Optional<PartComponentManager> getComponentManager(PartComponent component)
Returns the manager for a component type identified by name.- Parameters:
component
- the component- Returns:
- the manager for the corresponding component type
- Throws:
JRRuntimeException
- if the bundle does not include a component type having the specified name
-
-