Class BulgarianWikiModel

java.lang.Object
info.bliki.wiki.model.AbstractWikiModel
info.bliki.wiki.model.WikiModel
org.getalp.dbnary.bliki.DbnaryWikiModel
org.getalp.dbnary.languages.bul.BulgarianWikiModel
All Implemented Interfaces:
info.bliki.wiki.model.IConfiguration, info.bliki.wiki.model.IContext, info.bliki.wiki.model.IWikiModel

public class BulgarianWikiModel extends DbnaryWikiModel
  • Nested Class Summary

    Nested classes/interfaces inherited from interface info.bliki.wiki.model.IConfiguration

    info.bliki.wiki.model.IConfiguration.Casing
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final Set<String>
     
    protected static final String
     
    protected static final String
     
    protected static final HashMap<String,String>
     
    protected static final Pattern
     
    protected static final String
     
    protected static final Pattern
     
    protected static final String
     
    protected static final String
     
    protected static final Pattern
     
    protected static final Pattern
     

    Fields inherited from class DbnaryWikiModel

    trace, wi

    Fields inherited from class info.bliki.wiki.model.WikiModel

    categories, includes, links, semanticAttributes, semanticRelations

    Fields inherited from class info.bliki.wiki.model.AbstractWikiModel

    attributes, fExternalLinksCounter, fLocale, fNamespace, fNamespaceName, fNoToc, fPageTitle, fParameterParsingMode, fRecursionLevel, fRedirectLink, fReferenceNames, fReferences, fSectionCounter, fTagStack, fTemplateRecursionCount, fTemplates, fTemplateTopic, fToCSet, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    BulgarianWikiModel(IWiktionaryDataHandler wdh, Locale locale, String imageBaseURL, String linkBaseURL)
     
    BulgarianWikiModel(IWiktionaryDataHandler wdh, WiktionaryPageSource wi, Locale locale, String imageBaseURL, String linkBaseURL)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    void
    setPageName(String pageTitle)
     
    void
    substituteTemplateCall(String templateName, Map<String,String> parameterMap, Appendable writer)
     

    Methods inherited from class info.bliki.wiki.model.WikiModel

    addCategory, addInclude, addLink, addSemanticAttribute, addSemanticRelation, addTemplate, appendInternalLink, appendInternalLink, createImageName, getCategories, getImageBaseURL, getIncludes, getLinks, getNamespace, getSemanticAttributes, getSemanticRelations, getTemplates, getWikiBaseURL, parseInternalImageLink, replaceColon, setUp, toHtml, toHtml, toHtml, toText

    Methods inherited from class info.bliki.wiki.model.AbstractWikiModel

    addCodeFormatter, addInterwikiLink, addTemplateFunction, addTokenTag, addToReferences, addToTableOfContent, append, appendExternalImageLink, appendExternalLink, appendHead, appendInternalImageLink, appendInterWikiLink, appendISBNLink, appendMailtoLink, appendRawNamespaceLinks, appendRawWikipediaLink, appendRedirectLink, appendSignature, appendStack, buildEditLinkUrl, casing, createNewInstance, createScribuntoEngine, createTableOfContent, decrementRecursionLevel, decrementTemplateRecursionLevel, encodeTitleDotUrl, encodeTitleToUrl, getAttribute, getAttributeRenderer, getCodeFormatterMap, getCurrentTimeStamp, getFrame, getInterwikiMap, getLocale, getMagicWord, getNamespaceName, getNextNumber, getNode, getPageName, getRecursionLevel, getRedirectLink, getReferences, getResourceBundle, getSimpleDateFormat, getTableOfContent, getTemplateCallsCache, getTemplateFunction, getTemplateMap, getTokenMap, getUriSchemeSet, getWikiBaseEditURL, getWikiListener, incrementRecursionLevel, incrementTemplateRecursionLevel, initialize, isCamelCaseEnabled, isEditorMode, isInterWiki, isMathtranRenderer, isNamespace, isNoToc, isParameterParsingMode, isPreviewMode, isSemanticWebActive, isTemplateTopic, isValidUriScheme, isValidUriSchemeSpecificPart, parseBehaviorSwitch, parseEvents, parseTemplates, parseTemplates, peekNode, popNode, pushNode, rawSetAttribute, reduceTokenStack, registerRenderer, render, render, render, render, renderPDF, setAttribute, setAttributeRenderers, setDefaultThumbWidth, setFrame, setNamespaceName, setNoToc, setParameterParsingMode, setSemanticWebActive, setTemplateCallsCache, showSyntax, splitNsTitle, stackSize, swapStack, tearDown

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bulgarianPOS

      protected static final Set<String> bulgarianPOS
    • nymMarkerToNymName

      protected static final HashMap<String,String> nymMarkerToNymName
    • translationExpression

      protected static final String translationExpression
      See Also:
    • translationPattern

      protected static final Pattern translationPattern
    • glossExpression

      protected static final String glossExpression
      See Also:
    • translationLangExpression

      protected static final String translationLangExpression
      See Also:
    • translationLangPattern

      protected static final Pattern translationLangPattern
    • translationBodyExpression

      protected static final String translationBodyExpression
      See Also:
    • translationBodyPattern

      protected static final Pattern translationBodyPattern
    • nymExpression

      protected static final String nymExpression
      See Also:
    • nymPattern

      protected static final Pattern nymPattern
  • Constructor Details

  • Method Details

    • setPageName

      public void setPageName(String pageTitle)
      Specified by:
      setPageName in interface info.bliki.wiki.model.IWikiModel
      Overrides:
      setPageName in class info.bliki.wiki.model.AbstractWikiModel
    • parseBulgarianBlock

      public boolean parseBulgarianBlock(String block)
    • substituteTemplateCall

      public void substituteTemplateCall(String templateName, Map<String,String> parameterMap, Appendable writer) throws IOException
      Specified by:
      substituteTemplateCall in interface info.bliki.wiki.model.IWikiModel
      Overrides:
      substituteTemplateCall in class info.bliki.wiki.model.AbstractWikiModel
      Throws:
      IOException
    • displayUsedTemplates

      public void displayUsedTemplates()