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

public Class AttributeNode

extends Node
implements DoNotDecorate
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.util.ast.DoNotDecorate
Imports
com.vladsch.flexmark.util.ast.DoNotDecorate, .Node, com.vladsch.flexmark.util.html.Attribute, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, .Nullable

An Attribute node representing a single attribute name and value in attributes node

Field Summary

Modifier and TypeField and Description
protected BasedSequence
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

Method Summary

Modifier and TypeMethod and Description
public void
public BasedSequence
public BasedSequence
public BasedSequence
public BasedSequence
public @NotNull BasedSequence[]
public BasedSequence
public boolean
public boolean
isId()

public static boolean
public boolean
public void
public void
public void
public void
public void
Inherited from com.vladsch.flexmark.util.ast.Node:
appendChainappendChildastCharsastExtraCharsastStringbaseSubSequencebaseSubSequencecountAncestorsOfTypecountDirectAncestorsOfTypedelimitedSegmentSpandelimitedSegmentSpanCharsendOfLineextractChainToextractToFirstInChaingetAncestorOfTypegetAstExtragetBaseSequencegetBlankLineSiblinggetCharsgetCharsFromSegmentsgetChildCharsgetChildIteratorgetChildOfTypegetChildrengetDescendantsgetDocumentgetEmptyPrefixgetEmptySuffixgetEndLineNumbergetEndOffsetgetEndOfLinegetExactChildCharsgetFirstChildgetFirstChildAnygetFirstChildAnyNotgetFirstInChaingetGrandParentgetLastBlankLineChildgetLastChildgetLastChildAnygetLastChildAnyNotgetLastInChaingetLeadSegmentgetLineColumnAtEndgetLineNumbergetNextgetNextAnygetNextAnyNotgetNodeNamegetNodeOfTypeIndexgetNodeOfTypeIndexgetOldestAncestorOfTypeAftergetParentgetPreviousgetPreviousAnygetPreviousAnyNotgetReversedChildIteratorgetReversedChildrengetReversedDescendantsgetSegmentsForCharsgetSourceRangegetStartLineNumbergetStartOffsetgetStartOfLinegetTextLengthgetTrailSegmenthasChildrenhasOrMoreChildreninsertAfterinsertBeforeinsertChainAfterinsertChainBeforeisOrDescendantOfTypelineColumnAtIndexlineColumnAtStartmoveTrailingBlankLinesprependChildremoveChildrensegmentSpansegmentSpansegmentSpanCharssegmentSpanCharssegmentSpanCharssegmentSpanCharsToVisiblesetCharssetCharsFromContentsetCharsFromContentOnlysetCharsFromSegmentssetParentspanningCharsstartOfLinetakeChildrentoAstStringtoSegmentSpantoStringtoStringAttributesunlink

Field Detail

attributeSeparatorback to summary
protected BasedSequence attributeSeparator
closingMarkerback to summary
protected BasedSequence closingMarker
nameback to summary
protected BasedSequence name
openingMarkerback to summary
protected BasedSequence openingMarker
valueback to summary
protected BasedSequence value

Constructor Detail

AttributeNodeback to summary
public AttributeNode()
AttributeNodeback to summary
public AttributeNode(BasedSequence chars)
AttributeNodeback to summary
public AttributeNode(@Nullable BasedSequence name, @Nullable BasedSequence attributeSeparator, @Nullable BasedSequence openingMarker, @Nullable BasedSequence value, @Nullable BasedSequence closingMarker)

Method Detail

getAstExtraback to summary
public void getAstExtra(@NotNull StringBuilder out)
Annotations
@Override
getAttributeSeparatorback to summary
public BasedSequence getAttributeSeparator()
getClosingMarkerback to summary
public BasedSequence getClosingMarker()
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
getValueback to summary
public BasedSequence getValue()
isClassback to summary
public boolean isClass()
isIdback to summary
public boolean isId()
isImplicitNameback to summary
public static boolean isImplicitName(CharSequence text)
isImplicitNameback to summary
public boolean isImplicitName()
setAttributeSeparatorback to summary
public void setAttributeSeparator(BasedSequence attributeSeparator)
setClosingMarkerback to summary
public void setClosingMarker(BasedSequence closingMarker)
setNameback to summary
public void setName(BasedSequence name)
setOpeningMarkerback to summary
public void setOpeningMarker(BasedSequence openingMarker)
setValueback to summary
public void setValue(BasedSequence value)