org.apache.tools.ant.types
public class ResourceLocation extends Object
Helper class to handle the <dtd> and
<entity> nested elements. These correspond to
the PUBLIC and URI catalog entry types,
respectively, as defined in the
OASIS "Open Catalog" standard.
Possible Future Enhancements:
Since: Ant 1.6
See Also: org.apache.xml.resolver.Catalog
| Method Summary | |
|---|---|
| URL | getBase() |
| String | getLocation() |
| String | getPublicId() |
| void | setBase(URL base) |
| void | setLocation(String location) |
| void | setPublicId(String publicId) |
Returns: the base of the resource identified by the publicId.
Returns: the location of the resource identified by the publicId.
Returns: the publicId of the resource.
Parameters: base the base URL of the resource associated with the publicId. If the location specifies a relative URL/pathname, it is resolved using the base. The default base for an external catalog file is the directory in which it is located.
Parameters: location the location of the resource associated with the publicId.
Parameters: publicId uniquely identifies the resource.