public interface SourceTracker
Modifier and Type | Field and Description |
---|---|
static int |
SRC_ANNOTATIONS |
static int |
SRC_OTHER |
static int |
SRC_XML |
Modifier and Type | Method and Description |
---|---|
int |
getColNumber()
Return the column number in the line of the file at which this
instance was parsed.
|
int |
getLineNumber()
Return the line number of the file at which this instance was parsed.
|
String |
getResourceName()
Return the domain-meaningful name of the resource that was loaded
from this source.
|
File |
getSourceFile()
Return the file from which this instance was parsed.
|
Object |
getSourceScope()
Return the domain-dependent scope of this instance within its file.
|
int |
getSourceType()
Return the type of source.
|
static final int SRC_OTHER
static final int SRC_ANNOTATIONS
static final int SRC_XML
File getSourceFile()
Object getSourceScope()
int getSourceType()
String getResourceName()
int getLineNumber()
int getColNumber()
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.