public static final class WorkingDocument.CharacterSource
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
java.lang.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. |
| 构造器和说明 |
|---|
CharacterSource(WorkingDocument.SourceContext context) |
CharacterSource(WorkingDocument.SourceContext context,
WorkingDocument.CharacterSource substitutedSource,
int substitutionOffset,
java.lang.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 java.lang.CharSequence substitutedText
substitutedSource is null.public CharacterSource(WorkingDocument.SourceContext context)
public CharacterSource(WorkingDocument.SourceContext context, WorkingDocument.CharacterSource substitutedSource, int substitutionOffset, java.lang.CharSequence substitutedText)