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.
|
toStringprotected String address
protected String fragment
protected short schemeEnd
protected short authorityEnd
protected short lastSlash
public String getNotation()
LocatorIFNote that only the URI notation is supported in release OKS 4.0 and newer.
public String getAddress()
LocatorIFpublic LocatorIF resolveAbsolute(String rel)
LocatorIFpublic String getExternalForm()
LocatorIFpublic int hashCode()
AbstractLocatorhashCode in class AbstractLocatorpublic boolean equals(Object object)
AbstractLocatorequals in class AbstractLocator