fr.opensagres.xdocreport.document.textstyling
Class TextStylingTransformerRegistry
java.lang.Object
fr.opensagres.xdocreport.core.registry.AbstractRegistry<ITextStylingTransformerDiscovery>
fr.opensagres.xdocreport.document.textstyling.TextStylingTransformerRegistry
public class TextStylingTransformerRegistry
- extends AbstractRegistry<ITextStylingTransformerDiscovery>
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextStylingTransformerRegistry
public TextStylingTransformerRegistry()
getRegistry
public static TextStylingTransformerRegistry getRegistry()
registerInstance
protected boolean registerInstance(ITextStylingTransformerDiscovery discovery)
- Specified by:
registerInstance in class AbstractRegistry<ITextStylingTransformerDiscovery>
doDispose
protected void doDispose()
- Specified by:
doDispose in class AbstractRegistry<ITextStylingTransformerDiscovery>
getTextStylingTransformer
public ITextStylingTransformer getTextStylingTransformer(SyntaxKind syntaxKind)
- Returns the text styling transformer for the given syntax kind.
- Parameters:
syntaxKind -
- Returns:
getTextStylingTransformer
public ITextStylingTransformer getTextStylingTransformer(String syntaxKind)
- Returns the text styling transformer for the given syntax kind.
- Parameters:
syntaxKind -
- Returns:
Copyright © 2012. All Rights Reserved.