public interface SourceTextProvider
NAMED source unit to check spans against
(specification Sections 7.8 and 12.2). Without the text, spans are checked for order only and a note says so.| Modifier and Type | Interface and Description |
|---|---|
static class |
SourceTextProvider.Directories
A provider that maps namespaces to directories; a logical name is a path relative to its directory, and a
name that is absolute, has a
.. segment or ends with / is never read. |
| Modifier and Type | Field and Description |
|---|---|
static SourceTextProvider |
NONE
No source text: spans are not checked against text.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
read(String namespace,
String logicalName)
The bytes of a source unit, or null when this provider does not have them.
|
static final SourceTextProvider NONE