public class URIFragmentLocator extends AbstractLocator
Modifier and Type | Field and Description |
---|---|
protected String |
address |
protected short |
authorityEnd |
protected String |
fragment |
protected short |
lastSlash |
protected short |
schemeEnd |
Modifier | Constructor and Description |
---|---|
protected |
URIFragmentLocator(String address,
String fragment,
short schemeEnd,
short authorityEnd,
short lastSlash) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
PUBLIC: Two LocatorIFs are considered equal if they have the same
address and notation properties.
|
String |
getAddress()
PUBLIC: Returns the locator address in absolute and normalized
form.
|
String |
getExternalForm()
PUBLIC: Returns the address of the locator in external form; that
is, with special characters that need to be escaped escaped using
the escape syntax of the locator notation.
|
String |
getNotation()
PUBLIC: Gets the locator notation.
|
int |
hashCode()
PUBLIC: Returns the hashcode of the address property.
|
LocatorIF |
resolveAbsolute(String rel)
PUBLIC: Given a locator address string that is relative to this
locator, return an absolute locator.
|
toString
protected String address
protected String fragment
protected short schemeEnd
protected short authorityEnd
protected short lastSlash
public String getNotation()
LocatorIF
Note that only the URI notation is supported in release OKS 4.0 and newer.
public String getAddress()
LocatorIF
public LocatorIF resolveAbsolute(String rel)
LocatorIF
public String getExternalForm()
LocatorIF
public int hashCode()
AbstractLocator
hashCode
in class AbstractLocator
public boolean equals(Object object)
AbstractLocator
equals
in class AbstractLocator