public class AbstractMarkupEventBuilder extends EventBuilder
| Constructor and Description |
|---|
AbstractMarkupEventBuilder(String rootId,
IFilter subFilter,
EncoderManager encoderManager,
String encoding,
String lineBreak) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEncoding() |
protected String |
getLineBreak() |
void |
initializeCodeFinder(boolean useCodeFinder,
List<String> rules)
Initializes the code finder.
|
void |
initializeCodeFinder(boolean useCodeFinder,
String rules)
Initializes the code finder.
|
String |
normalizeHtmlText(String text,
boolean insideAttribute,
boolean preserveWhitespace) |
protected ITextUnit |
postProcessTextUnit(ITextUnit textUnit)
Do any required post-processing on the TextUnit after endTextUnit is called.
|
addDocumentPart, addFilterEvent, addFilterEvents, addTextUnit, addToDocumentPart, addToTextUnit, addToTextUnit, addToTextUnit, addToTextUnit, addToTextUnit, appendCodeInlineExcludedData, appendCodeOuterData, appendToFirstSkeletonPart, appendToSkeleton, cancel, canStartNewTextUnit, convertTempTextUnitToDocumentPart, endCode, endCode, endDocumentPart, endDocumentPart, endGroup, endGroup, endSubDocument, endTextUnit, endTextUnit, endTextUnit, findMostRecentParentId, findMostRecentParentName, findMostRecentTextUnitName, flushRemainingTempEvents, getCurrentCode, getDocumentPartId, getGroupId, getGroupIdSequence, getRootId, getSubDocumentId, getTextUnitId, hasNext, hasParentTextUnit, hasQueuedEvents, hasUnfinishedSkeleton, isCurrentComplexTextUnit, isCurrentGroup, isCurrentSubfilter, isCurrentTextUnit, isInsideTextRun, isPreserveWhitespace, isTextUnitWithSameType, next, peekMostRecentCode, peekMostRecentGroup, peekMostRecentSubDocument, peekMostRecentTextUnit, peekTempEvent, popTempEvent, reset, setDocumentPartId, setGroupIdSequence, setMimeType, setPreserveWhitespace, setTextUnitId, setTextUnitMimeType, setTextUnitName, setTextUnitPreserveWhitespace, setTextUnitTranslatable, setTextUnitType, startCode, startDocumentPart, startDocumentPart, startDocumentPart, startGroup, startGroup, startSubDocument, startTextUnit, startTextUnit, startTextUnit, startTextUnit, startTextUnit, startTextUnitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic AbstractMarkupEventBuilder(String rootId, IFilter subFilter, EncoderManager encoderManager, String encoding, String lineBreak)
public void initializeCodeFinder(boolean useCodeFinder,
String rules)
useCodeFinder - true to use the code finder.rules - the string representation of the rules.public void initializeCodeFinder(boolean useCodeFinder,
List<String> rules)
useCodeFinder - true to use the code finder.rules - the string representation of the rules.protected ITextUnit postProcessTextUnit(ITextUnit textUnit)
EventBuilderpostProcessTextUnit in class EventBuildertextUnit - the ITextUnit to post-process.ITextUnit.public String normalizeHtmlText(String text, boolean insideAttribute, boolean preserveWhitespace)
protected String getEncoding()
protected String getLineBreak()
Copyright © 2022. All rights reserved.