org.apache.tools.ant.taskdefs

Class Ant.Reference

Enclosing Class:
Ant

public static class Ant.Reference
extends Reference

Helper class that implements the nested <reference> element of <ant> and <antcall>.

Constructor Summary

Reference()
Creates a reference to be configured by Ant.

Method Summary

String
getToRefid()
Get 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, getRefId, getReferencedObject, getReferencedObject, setProject, setRefId

Constructor Details

Reference

public Reference()
Creates a reference to be configured by Ant.

Method Details

getToRefid

public String 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.

setToRefid

public void setToRefid(String targetid)
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.

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.