Package org.apache.tools.ant.taskdefs
Class Ant.Reference
java.lang.Object
org.apache.tools.ant.types.Reference
org.apache.tools.ant.taskdefs.Ant.Reference
- Enclosing class:
- Ant
Helper class that implements the nested <reference>
element of <ant> and <antcall>.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the id under which this reference will be stored in the new project.void
setToRefid
(String targetid) Set the id that this reference to be stored under in the new project.Methods inherited from class org.apache.tools.ant.types.Reference
getProject, getReferencedObject, getReferencedObject, getRefId, setProject, setRefId
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
setToRefid
Set the id that this reference to be stored under in the new project.- Parameters:
targetid
- the id under which this reference will be passed to the new project.
-
getToRefid
Get the id under which this reference will be stored in the new project.- Returns:
- the id of the reference in the new project.
-