Package org.apache.tools.ant.taskdefs
Class Javadoc.LinkArgument
java.lang.Object
org.apache.tools.ant.taskdefs.Javadoc.LinkArgument
- Enclosing class:
- Javadoc
public class Javadoc.LinkArgument
extends java.lang.Object
Represents a link triplet (href, whether link is offline,
location of the package list if off line)
-
Constructor Summary
Constructors Constructor Description LinkArgument()Constructor for LinkArgument -
Method Summary
Modifier and Type Method Description java.lang.StringgetHref()Get the href attribute.java.io.FilegetPackagelistLoc()Get the packetList location attribute.java.net.URLgetPackagelistURL()Get the packetList location attribute.booleanisLinkOffline()Get the linkOffline attribute.voidsetHref(java.lang.String hr)Set the href attribute.voidsetOffline(boolean offline)Set the offline attribute.voidsetPackagelistLoc(java.io.File src)Set the packetlist location attribute.voidsetPackagelistURL(java.net.URL src)Set the packetlist location attribute.voidsetResolveLink(boolean resolve)Sets whether Ant should resolve the link attribute relative to the current basedir.booleanshouldResolveLink()should Ant resolve the link attribute relative to the current basedir?
-
Constructor Details
-
LinkArgument
public LinkArgument()Constructor for LinkArgument
-
-
Method Details
-
setHref
public void setHref(java.lang.String hr)Set the href attribute.- Parameters:
hr- aStringvalue
-
getHref
public java.lang.String getHref()Get the href attribute.- Returns:
- the href attribute.
-
setPackagelistLoc
public void setPackagelistLoc(java.io.File src)Set the packetlist location attribute.- Parameters:
src- aFilevalue
-
getPackagelistLoc
public java.io.File getPackagelistLoc()Get the packetList location attribute.- Returns:
- the packetList location attribute.
-
setPackagelistURL
public void setPackagelistURL(java.net.URL src)Set the packetlist location attribute.- Parameters:
src- anURLvalue
-
getPackagelistURL
public java.net.URL getPackagelistURL()Get the packetList location attribute.- Returns:
- the packetList location attribute.
-
setOffline
public void setOffline(boolean offline)Set the offline attribute.- Parameters:
offline- abooleanvalue
-
isLinkOffline
public boolean isLinkOffline()Get the linkOffline attribute.- Returns:
- the linkOffline attribute.
-
setResolveLink
public void setResolveLink(boolean resolve)Sets whether Ant should resolve the link attribute relative to the current basedir.- Parameters:
resolve- abooleanvalue
-
shouldResolveLink
public boolean shouldResolveLink()should Ant resolve the link attribute relative to the current basedir?- Returns:
- the resolveLink attribute.
-