Top Description Fields Constructors Methods
com.vladsch.flexmark.ext.xwiki.macros

public Class Macro

extends Node
Class Inheritance
Annotations
@SuppressWarnings:WeakerAccess
Imports
com.vladsch.flexmark.util.ast.Node, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, java.util.LinkedHashMap, .Map

A macros node

Field Summary

Modifier and TypeField and Description
protected BasedSequence
protected BasedSequence
protected BasedSequence
protected BasedSequence
Inherited from com.vladsch.flexmark.util.ast.Node:
AST_ADAPTEREMPTY_SEGMENTSSPLICE

Constructor Summary

AccessConstructor and Description
public
public
public
Macro(BasedSequence openingMarker, BasedSequence name, BasedSequence closingMarker)

Method Summary

Modifier and TypeMethod and Description
public void
public Map<String, String>
public BasedSequence
public BasedSequence
public BasedSequence
public BasedSequence
public BasedSequence
public @NotNull BasedSequence[]
public boolean
public boolean
public void
public void
public void
public void
Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetCharsFromContentsetCharsFromContentOnlysetCharsFromSegmentssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringtoStringAttributesunlink

Field Detail

attributeTextback to summary
protected BasedSequence attributeText
closingMarkerback to summary
protected BasedSequence closingMarker
nameback to summary
protected BasedSequence name
openingMarkerback to summary
protected BasedSequence openingMarker

Constructor Detail

Macroback to summary
public Macro()
Macroback to summary
public Macro(BasedSequence chars)
Macroback to summary
public Macro(BasedSequence openingMarker, BasedSequence name, BasedSequence closingMarker)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getAttributesback to summary
public Map<String, String> getAttributes()
getAttributeTextback to summary
public BasedSequence getAttributeText()
getClosingMarkerback to summary
public BasedSequence getClosingMarker()
getMacroContentCharsback to summary
public BasedSequence getMacroContentChars()
getNameback to summary
public BasedSequence getName()
getOpeningMarkerback to summary
public BasedSequence getOpeningMarker()
getSegmentsback to summary
public @NotNull BasedSequence[] getSegments()

Implements abstract com.vladsch.flexmark.util.ast.Node.getSegments.

Annotations
@NotNull
@Override
isBlockMacroback to summary
public boolean isBlockMacro()
isClosedTagback to summary
public boolean isClosedTag()
setAttributeTextback to summary
public void setAttributeText(BasedSequence attributeText)
setClosingMarkerback to summary
public void setClosingMarker(BasedSequence closingMarker)
setNameback to summary
public void setName(BasedSequence name)
setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)