Package org.getalp.dbnary.languages.zho
Class ChinesePronunciationExtractorWikiModel
- java.lang.Object
-
- info.bliki.wiki.model.AbstractWikiModel
-
- info.bliki.wiki.model.WikiModel
-
- org.getalp.dbnary.bliki.DbnaryWikiModel
-
- org.getalp.dbnary.languages.zho.ChineseDbnaryWikiModel
-
- org.getalp.dbnary.languages.zho.ChinesePronunciationExtractorWikiModel
-
- All Implemented Interfaces:
info.bliki.wiki.model.IConfiguration
,info.bliki.wiki.model.IContext
,info.bliki.wiki.model.IWikiModel
public class ChinesePronunciationExtractorWikiModel extends ChineseDbnaryWikiModel
-
-
Field Summary
-
Fields inherited from class org.getalp.dbnary.bliki.DbnaryWikiModel
trace, wi
-
Fields inherited from class info.bliki.wiki.model.WikiModel
categories, includes, links, semanticAttributes, semanticRelations, templates
-
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 ChinesePronunciationExtractorWikiModel(IWiktionaryDataHandler wdh, WiktionaryPageSource wi, Locale locale, String imageBaseURL, String linkBaseURL)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getLanguageType(org.jsoup.nodes.Element li)
static String
getLocationName(org.jsoup.nodes.Element li)
String
getPhonemicSystem(org.jsoup.nodes.Element li)
String
getPronunciation(org.jsoup.nodes.Element li)
String
getPronunciationTag(String languageType, String phonemicSystem, String locationName)
static boolean
isLastLi(org.jsoup.nodes.Element li)
void
parsePronunciation(String templateCall)
void
parsePronunciation2(String templateCall)
-
Methods inherited from class org.getalp.dbnary.languages.zho.ChineseDbnaryWikiModel
getRawWikiContent
-
Methods inherited from class org.getalp.dbnary.bliki.DbnaryWikiModel
displayGlobalTrace, expandWikiCode, prepareForTransclusion, render
-
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, setPageName, setParameterParsingMode, setSemanticWebActive, setTemplateCallsCache, showSyntax, splitNsTitle, stackSize, substituteTemplateCall, swapStack, tearDown
-
-
-
-
Constructor Detail
-
ChinesePronunciationExtractorWikiModel
public ChinesePronunciationExtractorWikiModel(IWiktionaryDataHandler wdh, WiktionaryPageSource wi, Locale locale, String imageBaseURL, String linkBaseURL)
-
-
Method Detail
-
parsePronunciation2
public void parsePronunciation2(String templateCall)
-
parsePronunciation
public void parsePronunciation(String templateCall)
-
isLastLi
public static boolean isLastLi(org.jsoup.nodes.Element li)
-
getLanguageType
public static String getLanguageType(org.jsoup.nodes.Element li)
-
getLocationName
public static String getLocationName(org.jsoup.nodes.Element li)
-
getPhonemicSystem
public String getPhonemicSystem(org.jsoup.nodes.Element li)
-
getPronunciationTag
public String getPronunciationTag(String languageType, String phonemicSystem, String locationName)
-
getPronunciation
public String getPronunciation(org.jsoup.nodes.Element li)
-
-