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. If the provided
 resource provides an Origin (e.g. it is an OriginTrackedResource), then
 it will be used as the origin parent.OriginTrackedResource| Modifier and Type | Class and Description | 
|---|---|
| static class  | TextResourceOrigin.LocationA 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). | 
| Origin | getParent()Return the parent origin for this instance if there is one. | 
| Resource | getResource()Return the resource where the property originated. | 
| int | hashCode() | 
| String | toString() | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfrom, parentsFrompublic TextResourceOrigin(Resource resource, TextResourceOrigin.Location location)
public Resource getResource()
nullpublic TextResourceOrigin.Location getLocation()
nullpublic Origin getParent()
OrigingetParent in interface OriginnullOrigin.parentsFrom(Object)