spring-framework / org.springframework.beans.factory.parsing / Location / <init>

<init>

Location(resource: Resource)

Create a new instance of the Location class.

Parameters

resource - the resource with which this location is associated

Location(resource: Resource, @Nullable source: Any)

Create a new instance of the Location class.

Parameters

resource - the resource with which this location is associated

source - the actual location within the associated resource (may be null)