Top Fields Constructors Methods
com.vladsch.flexmark.ext.typographic.internal

public Class AngleQuoteDelimiterProcessor

extends QuoteDelimiterProcessorBase
Class Inheritance

Field Summary

Inherited from com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase:
myCloseDelimitermyClosermyOpenDelimitermyOpenermyOptionsmyUnmatched

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
canBeCloser(String
string before delimiter or '\n' if none
before
,
String
string after delimiter or '\n' if none
after
,
boolean
is left flanking delimiter
leftFlanking
,
boolean
is right flanking delimiter
rightFlanking
,
boolean
is punctuation before
beforeIsPunctuation
,
boolean
is punctuation after
afterIsPunctuation
,
boolean
is whitespace before
beforeIsWhitespace
,
boolean
is whitespace after
afterIsWhiteSpace
)

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.canBeCloser.

Implements com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeCloser.

Decide whether this delimiter can be a close delimiter

public boolean
canBeOpener(String
string before delimiter or '\n' if none
before
,
String
string after delimiter or '\n' if none
after
,
boolean
is left flanking delimiter
leftFlanking
,
boolean
is right flanking delimiter
rightFlanking
,
boolean
is punctuation before
beforeIsPunctuation
,
boolean
is punctuation after
afterIsPunctuation
,
boolean
is whitespace before
beforeIsWhitespace
,
boolean
is whitespace after
afterIsWhiteSpace
)

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.canBeOpener.

Implements com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeOpener.

Decide whether this delimiter can be an open delimiter

public int
protected boolean
Inherited from com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase:
canClosecanOpengetClosingCharactergetDelimiterUsegetOpeningCharacterhaveNextCloserhavePreviousOpenerisAllowedprocessskipNonOpenerCloserunmatchedDelimiterNode

Constructor Detail

AngleQuoteDelimiterProcessorback to summary
public AngleQuoteDelimiterProcessor(TypographicOptions options)

Method Detail

canBeCloserback to summary
public boolean canBeCloser(String before, String after, boolean leftFlanking, boolean rightFlanking, boolean beforeIsPunctuation, boolean afterIsPunctuation, boolean beforeIsWhitespace, boolean afterIsWhiteSpace)

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.canBeCloser.

Implements com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeCloser.

Doc from com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeCloser.

Decide whether this delimiter can be a close delimiter

Parameters
before:String

string before delimiter or '\n' if none

after:String

string after delimiter or '\n' if none

leftFlanking:boolean

is left flanking delimiter

rightFlanking:boolean

is right flanking delimiter

beforeIsPunctuation:boolean

is punctuation before

afterIsPunctuation:boolean

is punctuation after

beforeIsWhitespace:boolean

is whitespace before

afterIsWhiteSpace:boolean

is whitespace after

Returns:boolean

true if can be open delimiter

Annotations
@Override
canBeOpenerback to summary
public boolean canBeOpener(String before, String after, boolean leftFlanking, boolean rightFlanking, boolean beforeIsPunctuation, boolean afterIsPunctuation, boolean beforeIsWhitespace, boolean afterIsWhiteSpace)

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.canBeOpener.

Implements com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeOpener.

Doc from com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.canBeOpener.

Decide whether this delimiter can be an open delimiter

Parameters
before:String

string before delimiter or '\n' if none

after:String

string after delimiter or '\n' if none

leftFlanking:boolean

is left flanking delimiter

rightFlanking:boolean

is right flanking delimiter

beforeIsPunctuation:boolean

is punctuation before

afterIsPunctuation:boolean

is punctuation after

beforeIsWhitespace:boolean

is whitespace before

afterIsWhiteSpace:boolean

is whitespace after

Returns:boolean

true if can be open delimiter

Annotations
@Override
getMinLengthback to summary
public int getMinLength()

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.getMinLength.

Implements com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.getMinLength.

Returns:int

Doc from com.vladsch.flexmark.parser.delimiter.DelimiterProcessor.getMinLength.

Minimum number of delimiter characters that are needed to activate this. Must be at least 1.

Annotations
@Override
isAllowedback to summary
protected boolean isAllowed(CharSequence seq, int index)

Overrides com.vladsch.flexmark.ext.typographic.internal.QuoteDelimiterProcessorBase.isAllowed.