|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.extensions.SingletonExtensionRegistry<Type>
Type
- the extension typepublic class SingletonExtensionRegistry<Type>
An extension registry that contains a single extension.
Constructor Summary | |
---|---|
SingletonExtensionRegistry(java.lang.Class<Type> type,
Type extension)
Creates a singleton extension registry. |
Method Summary | ||
---|---|---|
|
getExtensions(java.lang.Class<T> extensionType)
Returns a list of extension objects for a specific extension type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingletonExtensionRegistry(java.lang.Class<Type> type, Type extension)
type
- the registry typeextension
- the extension objectMethod Detail |
---|
public <T> java.util.List<T> getExtensions(java.lang.Class<T> extensionType)
ExtensionsRegistry
getExtensions
in interface ExtensionsRegistry
T
- generic extension typeextensionType
- the extension type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |