Class ResourceLocation

  • Direct Known Subclasses:

    public class ResourceLocation
    extends java.lang.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:

    • Bring the Ant element names into conformance with the OASIS standard
    • Add support for additional OASIS catalog entry types
    Ant 1.6
    See Also:
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description getBase()  
      java.lang.String getLocation()  
      java.lang.String getPublicId()  
      void setBase​( base)  
      void setLocation​(java.lang.String location)  
      void setPublicId​(java.lang.String publicId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceLocation

        public ResourceLocation()
    • Method Detail

      • setPublicId

        public void setPublicId​(java.lang.String publicId)
        publicId - uniquely identifies the resource.
      • setLocation

        public void setLocation​(java.lang.String location)
        location - the location of the resource associated with the publicId.
      • setBase

        public void setBase​( base)
        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.
      • getPublicId

        public java.lang.String getPublicId()
        the publicId of the resource.
      • getLocation

        public java.lang.String getLocation()
        the location of the resource identified by the publicId.
      • getBase

        public getBase()
        the base of the resource identified by the publicId.