org.jbind.xml.base
Interface IResourceIdentifier

All Known Subinterfaces:
ILocation
All Known Implementing Classes:
BuiltInLocation, Location, ResourceIdentifier, ResourceLocation

public interface IResourceIdentifier

Identifies an XML resource.


Method Summary
 java.net.URL getBaseSystemId()
          Gets the base system id.
 java.net.URL getExpandedSystemId()
          Returns an absolute url that is used to access the XML resource.
 java.lang.String getLiteralSystemId()
          Gets the literal system id.
 java.lang.String getPublicId()
          Gets the public id.
 

Method Detail

getBaseSystemId

public java.net.URL getBaseSystemId()
Gets the base system id. The base system id must be an absolute url.

Returns:
(optional). An absolute URL.

getExpandedSystemId

public java.net.URL getExpandedSystemId()
Returns an absolute url that is used to access the XML resource. The returned URL is the result of resolving the literal system id relative to the base system id. If no base system id is present then the literal system id must be an absolute url.

Returns:
(optional). An absolute URL.

getLiteralSystemId

public java.lang.String getLiteralSystemId()
Gets the literal system id. The literal system id may either be an absolute or a relative url.

Returns:
(optional). The string representation of an absolute or a relative URL.

getPublicId

public java.lang.String getPublicId()
Gets the public id.

Returns:
(optional).