@ConsumerType
public class Reference
extends java.lang.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 ReferenceProvider
s registered in the system and may vary.Constructor and Description |
---|
Reference(Resource source,
Resource target,
java.lang.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.
|
java.lang.String |
getType()
Returns the reference type of this reference.
|
java.lang.String |
toString() |
public Resource getSource()
ReferenceProvider
.public Resource getTarget()
ReferenceProvider
.public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved