public static final class WorkingDocument.CharacterSource extends Object
| Modifier and Type | Field and Description |
|---|---|
WorkingDocument.SourceContext |
context
Contextual information about where this data came from
|
WorkingDocument.CharacterSource |
substitutedSource
The block that this block was initially substituted into, or null to indicate that it
is "top level" or was appended rather than substituted.
|
CharSequence |
substitutedText
The text in the parent component that this data replaced, or null
if
substitutedSource is null. |
int |
substitutionOffset
The offset in
substitutedSource where the substitution occurred, or 0
if substitutedSource is null. |
| Constructor and Description |
|---|
CharacterSource(WorkingDocument.SourceContext context) |
CharacterSource(WorkingDocument.SourceContext context,
WorkingDocument.CharacterSource substitutedSource,
int substitutionOffset,
CharSequence substitutedText) |
public final WorkingDocument.SourceContext context
public final WorkingDocument.CharacterSource substitutedSource
public final int substitutionOffset
substitutedSource where the substitution occurred, or 0
if substitutedSource is null.public final CharSequence substitutedText
substitutedSource is null.public CharacterSource(WorkingDocument.SourceContext context)
public CharacterSource(WorkingDocument.SourceContext context, WorkingDocument.CharacterSource substitutedSource, int substitutionOffset, CharSequence substitutedText)
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.