@ConsumerType public class Reference extends Object
Reference represents a reference to the Resource backing the ReferenceList.
References can only be retrieved via a ReferenceList.
Each reference has a reference type.
The types available are defined by the ReferenceProviders registered in the system and may vary.| Constructor and Description |
|---|
Reference(Resource source,
Resource target,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getSource()
Returns the source resource for which the references have been retrieved through the
ReferenceProvider. |
Resource |
getTarget()
Returns the target resource of the reference, i.e.
|
String |
getType()
Returns the reference type of this reference.
|
String |
toString() |
public Resource getSource()
ReferenceProvider.public Resource getTarget()
ReferenceProvider.public String getType()
Copyright © 2010 - 2020 Adobe. All Rights Reserved