public class CreoleLanguage extends AbstractMarkupLanguage
AbstractMarkupLanguage.PatternBasedSyntax
blocks, configuration, internalLinkPattern, paragraphBreakingBlocks, phraseModifierSyntax, tokenSyntax
Constructor and Description |
---|
CreoleLanguage() |
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) |
boolean |
computeInternalLinkExists(java.lang.String link)
for the purpose of converting wiki words into links, determine if the wiki word exists.
|
protected Block |
createParagraphBlock() |
java.lang.String |
toInternalHref(java.lang.String pageName)
Convert a page name to an href to the page.
|
addBlockExtensions, addPhraseModifierExtensions, addTokenExtensions, clearLanguageSyntax, clone, configure, createState, emitMarkupLine, emitMarkupLine, emitMarkupText, getBlocks, getInternalLinkPattern, getParagraphBreakingBlocks, getPhraseModifierSyntax, getReplacementTokenSyntax, initializeBlocks, initializePhraseModifiers, initializeTokens, isBlocksOnly, isDetectingRawHyperlinks, isEmptyLine, isEnableMacros, isFilterGenerativeContents, processContent, setBlocksOnly, setEnableMacros, setFilterGenerativeContents, setInternalLinkPattern, startBlock
createDocumentBuilder, createDocumentBuilder, getExtendsLanguage, getFileExtensions, getIdGenerationStrategy, getName, setExtendsLanguage, setFileExtensions, setName
public boolean computeInternalLinkExists(java.lang.String link)
WikiWordReplacementToken
public java.lang.String toInternalHref(java.lang.String pageName)
pageName
- the name of the page to target, usually a WikiWord with whitespace removed#getInternalPageHrefPrefix()
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
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