|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.opensagres.xdocreport.core.registry.AbstractRegistry<ITextStylingTransformerDiscovery> fr.opensagres.xdocreport.document.registry.TextStylingTransformerRegistry
public class TextStylingTransformerRegistry
Text styling registry stores instance of ITextStylingTransformer
for text styling kind SyntaxKind
(Html, Mediawiki, etc...).
Instance of ITextStylingTransformer
must be declared in files
META-INF\services\fr.opensagres.xdocreport.template.discovery. ITextStylingTransformerDiscovery
Constructor Summary | |
---|---|
TextStylingTransformerRegistry()
|
Method Summary | |
---|---|
protected void |
doDispose()
|
static TextStylingTransformerRegistry |
getRegistry()
|
ITextStylingTransformer |
getTextStylingTransformer(String syntaxKind)
Returns the text styling transformer for the given syntax kind. |
ITextStylingTransformer |
getTextStylingTransformer(SyntaxKind syntaxKind)
Returns the text styling transformer for the given syntax kind. |
protected boolean |
registerInstance(ITextStylingTransformerDiscovery discovery)
Register the instance in the registry. |
Methods inherited from class fr.opensagres.xdocreport.core.registry.AbstractRegistry |
---|
dispose, initialize, initializeIfNeeded, onEndInitialization, onStartInitialization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextStylingTransformerRegistry()
Method Detail |
---|
public static TextStylingTransformerRegistry getRegistry()
protected boolean registerInstance(ITextStylingTransformerDiscovery discovery)
AbstractRegistry
registerInstance
in class AbstractRegistry<ITextStylingTransformerDiscovery>
protected void doDispose()
doDispose
in class AbstractRegistry<ITextStylingTransformerDiscovery>
public ITextStylingTransformer getTextStylingTransformer(SyntaxKind syntaxKind)
syntaxKind
-
public ITextStylingTransformer getTextStylingTransformer(String syntaxKind)
syntaxKind
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |