public class TextResourceOrigin extends Object implements Origin
Origin
for an item loaded from a text resource. Provides access to the original
Resource
that loaded the text and a TextResourceOrigin.Location
within it.Modifier and Type | Class and Description |
---|---|
static class |
TextResourceOrigin.Location
A location (line and column number) within the resource.
|
Constructor and Description |
---|
TextResourceOrigin(Resource resource,
TextResourceOrigin.Location location) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TextResourceOrigin.Location |
getLocation()
Return the location of the property within the source (if known).
|
Resource |
getResource()
Return the resource where the property originated.
|
int |
hashCode() |
String |
toString() |
public TextResourceOrigin(Resource resource, TextResourceOrigin.Location location)
public Resource getResource()
null
public TextResourceOrigin.Location getLocation()
null
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.