Top Description Fields Constructors Methods
com.vladsch.flexmark.ext.zzzzzz

public Class ZzzzzzExtension

extends Object
implements ParserExtension, HtmlRendererExtension, ReferenceHoldingExtension
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtension, com.vladsch.flexmark.util.misc.Extension, com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtension, com.vladsch.flexmark.parser.Parser.ParserExtension
Imports
com.vladsch.flexmark.ext.zzzzzz.internal.*, com.vladsch.flexmark.html.HtmlRenderer, com.vladsch.flexmark.html.renderer.LinkStatus, com.vladsch.flexmark.parser.Parser, com.vladsch.flexmark.util.ast.KeepType, com.vladsch.flexmark.util.data.DataHolder, .DataKey, .MutableDataHolder, org.jetbrains.annotations.NotNull

Extension for zzzzzzs

Create it with create() and then configure it on the builders

The parsed zzzzzz text is turned into Zzzzzz nodes.

Field Summary

Modifier and TypeField and Description
public static final LinkStatus
public static final DataKey<String>
public static final DataKey<String>
public static final DataKey<Boolean>
public static final DataKey<String>
public static final DataKey<Integer>
public static final DataKey<ZzzzzzRepository>
public static final DataKey<KeepType>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ZzzzzzExtension
public void
extend(Parser.Builder
parser builder with which to register extensions
parserBuilder
)

Implements com.vladsch.flexmark.parser.Parser.ParserExtension.extend.

This method is called on all extensions so that they can register their custom processors

public void
extend(HtmlRenderer.Builder htmlRendererBuilder, @NotNull String rendererType)

public void
parserOptions(MutableDataHolder
option set that will be used for the builder
options
)

Implements com.vladsch.flexmark.parser.Parser.ParserExtension.parserOptions.

This method is called first on all extensions so that they can adjust the options that must be common to all extensions.

public void
public boolean
transferReferences(MutableDataHolder
destination document for references
document
,
DataHolder
source document for references
included
)

Implements com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtension.transferReferences.

This method is called to transfer references from included document to the source document

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOCAL_ONLYback to summary
public static final LinkStatus LOCAL_ONLY
LOCAL_ONLY_TARGET_CLASSback to summary
public static final DataKey<String> LOCAL_ONLY_TARGET_CLASS
MISSING_TARGET_CLASSback to summary
public static final DataKey<String> MISSING_TARGET_CLASS
ZZZZZZ_OPTION1back to summary
public static final DataKey<Boolean> ZZZZZZ_OPTION1
ZZZZZZ_OPTION2back to summary
public static final DataKey<String> ZZZZZZ_OPTION2
ZZZZZZ_OPTION3back to summary
public static final DataKey<Integer> ZZZZZZ_OPTION3
ZZZZZZSback to summary
public static final DataKey<ZzzzzzRepository> ZZZZZZS
ZZZZZZS_KEEPback to summary
public static final DataKey<KeepType> ZZZZZZS_KEEP

Constructor Detail

ZzzzzzExtensionback to summary
private ZzzzzzExtension()

Method Detail

createback to summary
public static ZzzzzzExtension create()
extendback to summary
public void extend(Parser.Builder parserBuilder)

Implements com.vladsch.flexmark.parser.Parser.ParserExtension.extend.

Doc from com.vladsch.flexmark.parser.Parser.ParserExtension.extend.

This method is called on all extensions so that they can register their custom processors

Parameters
parserBuilder:Parser.Builder

parser builder with which to register extensions

Annotations
@Override
extendback to summary
public void extend(HtmlRenderer.Builder htmlRendererBuilder, @NotNull String rendererType)
Annotations
@Override
parserOptionsback to summary
public void parserOptions(MutableDataHolder options)

Implements com.vladsch.flexmark.parser.Parser.ParserExtension.parserOptions.

Doc from com.vladsch.flexmark.parser.Parser.ParserExtension.parserOptions.

This method is called first on all extensions so that they can adjust the options that must be common to all extensions.

Parameters
options:MutableDataHolder

option set that will be used for the builder

Annotations
@Override
rendererOptionsback to summary
public void rendererOptions(@NotNull MutableDataHolder options)
Annotations
@Override
transferReferencesback to summary
public boolean transferReferences(MutableDataHolder document, DataHolder included)

Implements com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtension.transferReferences.

Doc from com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtension.transferReferences.

This method is called to transfer references from included document to the source document

Parameters
document:MutableDataHolder

destination document for references

included:DataHolder

source document for references

Returns:boolean

true if there were references to transfer

Annotations
@Override