Package org.apache.tools.ant.taskdefs
Class Javadoc.LinkArgument
java.lang.Object
org.apache.tools.ant.taskdefs.Javadoc.LinkArgument
- Enclosing class:
Javadoc
Represents a link triplet (href, whether link is offline,
location of the package list if off line)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHref()
Get the href attribute.Get the packetList location attribute.Get the packetList location attribute.boolean
Get the linkOffline attribute.void
Set the href attribute.void
setOffline
(boolean offline) Set the offline attribute.void
setPackagelistLoc
(File src) Set the packetlist location attribute.void
setPackagelistURL
(URL src) Set the packetlist location attribute.void
setResolveLink
(boolean resolve) Sets whether Ant should resolve the link attribute relative to the current basedir.boolean
should Ant resolve the link attribute relative to the current basedir?
-
Constructor Details
-
LinkArgument
public LinkArgument()Constructor for LinkArgument
-
-
Method Details
-
setHref
Set the href attribute.- Parameters:
hr
- aString
value
-
getHref
Get the href attribute.- Returns:
- the href attribute.
-
setPackagelistLoc
Set the packetlist location attribute.- Parameters:
src
- aFile
value
-
getPackagelistLoc
Get the packetList location attribute.- Returns:
- the packetList location attribute.
-
setPackagelistURL
Set the packetlist location attribute.- Parameters:
src
- anURL
value
-
getPackagelistURL
Get the packetList location attribute.- Returns:
- the packetList location attribute.
-
setOffline
public void setOffline(boolean offline) Set the offline attribute.- Parameters:
offline
- aboolean
value
-
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
- aboolean
value
-
shouldResolveLink
public boolean shouldResolveLink()should Ant resolve the link attribute relative to the current basedir?- Returns:
- the resolveLink attribute.
-