open class Location
Class that models an arbitrary location in a 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.w3c.dom.Document; or the source object might simply be null.
Author
Rob Harrop
Since
2.0
Location(resource: Resource)Location(resource: Resource, source: Any)
Create a new instance of the Location class. |
open fun getResource(): Resource
Get the resource with which this location is associated. |
|
open fun getSource(): Any
Get the actual location within the associated See the Location for examples of what the actual type of the returned object may be. |