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:
org.apache.xml.resolver.Catalog
Modifier and Type | Field and Description |
---|---|
private URL | base
base URL of the dtd/entity, or null. |
private String | location
location of the dtd/entity - a file/resource/URL. |
private String | publicId
publicId of the dtd/entity. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public URL | |
public String | |
public String | |
public void | |
public void | |
public void |
base | back to summary |
---|---|
private URL base base URL of the dtd/entity, or null. If null, the Ant project basedir is assumed. 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. |
location | back to summary |
---|---|
private String location location of the dtd/entity - a file/resource/URL. |
publicId | back to summary |
---|---|
private String publicId publicId of the dtd/entity. |
ResourceLocation | back to summary |
---|---|
public ResourceLocation() |
getBase | back to summary |
---|---|
public URL getBase()
|
getLocation | back to summary |
---|---|
public String getLocation()
|
getPublicId | back to summary |
---|---|
public String getPublicId()
|
setBase | back to summary |
---|---|
public void setBase(URL base)
|
setLocation | back to summary |
---|---|
public void setLocation(String location)
|
setPublicId | back to summary |
---|---|
public void setPublicId(String publicId)
|