resource.
Typically used to track the location of problematic or erroneous
metadata in XML configuration files. For example, a
source location might be 'The bean defined on
line 76 of beans.properties has an invalid Class'; another source might
be the actual DOM Element from a parsed XML org.;
or the source object might simply be null.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| resource | back to summary |
|---|---|
| private final Resource resource | |
| source | back to summary |
|---|---|
| private final Object source
| |
| Location | back to summary |
|---|---|
| public Location(Resource resource) Create a new instance of the
| |
| Location | back to summary |
|---|---|
| public Location(Resource resource, Object source) Create a new instance of the | |
| getResource | back to summary |
|---|---|
| public Resource getResource() Get the resource with which this location is associated. | |
| getSource | back to summary |
|---|---|
| public Object getSource() Get the actual location within the associated See the
| |