public class MediaWikiLanguage
extends org.eclipse.mylyn.internal.wikitext.mediawiki.core.AbstractMediaWikiLanguage
AbstractMarkupLanguage.PatternBasedSyntax
blocks, configuration, internalLinkPattern, paragraphBreakingBlocks, phraseModifierSyntax, tokenSyntax
Constructor and Description |
---|
MediaWikiLanguage() |
Modifier and Type | Method and Description |
---|---|
protected void |
addStandardBlocks(java.util.List<Block> blocks,
java.util.List<Block> paragraphBreakingBlocks) |
protected void |
addStandardPhraseModifiers(AbstractMarkupLanguage.PatternBasedSyntax phraseModifierSyntax) |
protected void |
addStandardTokens(AbstractMarkupLanguage.PatternBasedSyntax tokenSyntax) |
MarkupLanguage |
clone() |
protected Block |
createParagraphBlock() |
IdGenerationStrategy |
getIdGenerationStrategy()
get the id strategy employed by this markup language.
|
java.lang.String |
getTemplateExcludes()
Indicate template names to exclude.
|
java.util.List<TemplateResolver> |
getTemplateProviders() |
java.util.List<Template> |
getTemplates() |
void |
setTemplateExcludes(java.lang.String templateExcludes)
Indicate template names to exclude.
|
void |
setTemplateProviders(java.util.List<TemplateResolver> templateProviders) |
void |
setTemplates(java.util.List<Template> templates) |
java.lang.String |
toInternalHref(java.lang.String pageName)
Convert a page name to an href to the page.
|
getImageNames, getPageMapping, mapImageName, mapPageNameToHref, processContent, setImageNames, setPageMapping
addBlockExtensions, addPhraseModifierExtensions, addTokenExtensions, clearLanguageSyntax, configure, createState, emitMarkupLine, emitMarkupLine, emitMarkupText, getBlocks, getInternalLinkPattern, getParagraphBreakingBlocks, getPhraseModifierSyntax, getReplacementTokenSyntax, initializeBlocks, initializePhraseModifiers, initializeTokens, isBlocksOnly, isDetectingRawHyperlinks, isEmptyLine, isEnableMacros, isFilterGenerativeContents, setBlocksOnly, setEnableMacros, setFilterGenerativeContents, setInternalLinkPattern, startBlock
createDocumentBuilder, createDocumentBuilder, getExtendsLanguage, getFileExtensions, getName, setExtendsLanguage, setFileExtensions, setName
public java.lang.String toInternalHref(java.lang.String pageName)
pageName
- the name of the page to targetMarkupLanguage#getInternalLinkPattern()
public IdGenerationStrategy getIdGenerationStrategy()
MarkupLanguage
getIdGenerationStrategy
in class MarkupLanguage
protected void addStandardBlocks(java.util.List<Block> blocks, java.util.List<Block> paragraphBreakingBlocks)
addStandardBlocks
in class AbstractMarkupLanguage
protected void addStandardPhraseModifiers(AbstractMarkupLanguage.PatternBasedSyntax phraseModifierSyntax)
addStandardPhraseModifiers
in class AbstractMarkupLanguage
protected void addStandardTokens(AbstractMarkupLanguage.PatternBasedSyntax tokenSyntax)
addStandardTokens
in class AbstractMarkupLanguage
protected Block createParagraphBlock()
createParagraphBlock
in class AbstractMarkupLanguage
public java.util.List<Template> getTemplates()
getTemplates
in class org.eclipse.mylyn.internal.wikitext.mediawiki.core.AbstractMediaWikiLanguage
public void setTemplates(java.util.List<Template> templates)
public java.util.List<TemplateResolver> getTemplateProviders()
getTemplateProviders
in class org.eclipse.mylyn.internal.wikitext.mediawiki.core.AbstractMediaWikiLanguage
public void setTemplateProviders(java.util.List<TemplateResolver> templateProviders)
public MarkupLanguage clone()
clone
in class org.eclipse.mylyn.internal.wikitext.mediawiki.core.AbstractMediaWikiLanguage
public void setTemplateExcludes(java.lang.String templateExcludes)
templateExcludes
- a comma-delimited list of names, may include '*' wildcardspublic java.lang.String getTemplateExcludes()
getTemplateExcludes
in class org.eclipse.mylyn.internal.wikitext.mediawiki.core.AbstractMediaWikiLanguage
Copyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html