org.jbind.xml.schema.cmp
Class BuiltInLocation

java.lang.Object
  extended byorg.jbind.xml.schema.cmp.BuiltInLocation
All Implemented Interfaces:
IHasLocation, ILocation, IResourceIdentifier

public class BuiltInLocation
extends java.lang.Object
implements ILocation


Field Summary
static ILocation INSTANCE
           
 
Method Summary
 java.net.URL getBaseSystemId()
          Gets the base system id.
 int getColumnNumber()
           
 java.net.URL getExpandedSystemId()
          Returns an absolute url that is used to access the XML resource.
 int getLineNumber()
           
 java.lang.String getLiteralSystemId()
          Gets the literal system id.
 ILocation getLocation()
           
 java.lang.String getPublicId()
          Gets the public id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ILocation INSTANCE
Method Detail

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface ILocation

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface ILocation

getBaseSystemId

public java.net.URL getBaseSystemId()
Description copied from interface: IResourceIdentifier
Gets the base system id. The base system id must be an absolute url.

Specified by:
getBaseSystemId in interface IResourceIdentifier
Returns:
(optional). An absolute URL.

getExpandedSystemId

public java.net.URL getExpandedSystemId()
Description copied from interface: IResourceIdentifier
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.

Specified by:
getExpandedSystemId in interface IResourceIdentifier
Returns:
(optional). An absolute URL.

getLiteralSystemId

public java.lang.String getLiteralSystemId()
Description copied from interface: IResourceIdentifier
Gets the literal system id. The literal system id may either be an absolute or a relative url.

Specified by:
getLiteralSystemId in interface IResourceIdentifier
Returns:
(optional). The string representation of an absolute or a relative URL.

getPublicId

public java.lang.String getPublicId()
Description copied from interface: IResourceIdentifier
Gets the public id.

Specified by:
getPublicId in interface IResourceIdentifier
Returns:
(optional).

getLocation

public ILocation getLocation()
Specified by:
getLocation in interface IHasLocation