|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.infoset.impl.basic.AbstractLocator net.ontopia.infoset.impl.basic.URIFragmentLocator
public class URIFragmentLocator
INTERNAL.
Field Summary | |
---|---|
protected java.lang.String |
address
|
protected short |
authorityEnd
|
protected java.lang.String |
fragment
|
protected short |
lastSlash
|
protected short |
schemeEnd
|
Constructor Summary | |
---|---|
protected |
URIFragmentLocator(java.lang.String address,
java.lang.String fragment,
short schemeEnd,
short authorityEnd,
short lastSlash)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
PUBLIC: Two LocatorIFs are considered equal if they have the same address and notation properties. |
java.lang.String |
getAddress()
PUBLIC: Returns the locator address in absolute and normalized form. |
java.lang.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. |
java.lang.String |
getNotation()
PUBLIC: Gets the locator notation. |
java.net.URL |
getURL()
Deprecated. Because not all URIs can be represented as URL objects. |
int |
hashCode()
PUBLIC: Returns the hashcode of the address property. |
LocatorIF |
resolveAbsolute(java.lang.String rel)
PUBLIC: Given a locator address string that is relative to this locator, return an absolute locator. |
Methods inherited from class net.ontopia.infoset.impl.basic.AbstractLocator |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String address
protected java.lang.String fragment
protected short schemeEnd
protected short authorityEnd
protected short lastSlash
Constructor Detail |
---|
protected URIFragmentLocator(java.lang.String address, java.lang.String fragment, short schemeEnd, short authorityEnd, short lastSlash)
Method Detail |
---|
public java.net.URL getURL() throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.String getNotation()
LocatorIF
Note that only the URI notation is supported in release OKS 4.0 and newer.
public java.lang.String getAddress()
LocatorIF
public LocatorIF resolveAbsolute(java.lang.String rel)
LocatorIF
public java.lang.String getExternalForm()
LocatorIF
public int hashCode()
AbstractLocator
hashCode
in class AbstractLocator
public boolean equals(java.lang.Object object)
AbstractLocator
equals
in class AbstractLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |