org.exist.xmldb
Class FullXmldbURI

java.lang.Object
  extended by org.exist.xmldb.XmldbURI
      extended by org.exist.xmldb.FullXmldbURI
All Implemented Interfaces:
Serializable, Comparable<Object>

public class FullXmldbURI
extends XmldbURI

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exist.xmldb.XmldbURI
API_LOCAL, API_REST, API_WEBDAV, API_XMLRPC, CONFIG_COLLECTION, CONFIG_COLLECTION_URI, DB, DEFAULT_INSTANCE_NAME, EMBEDDED_SERVER_AUTHORITY, EMBEDDED_SERVER_URI, EMBEDDED_SERVER_URI_PREFIX, EMPTY_URI, LOCAL_DB, LOCAL_DB_URI, NO_PORT, RELATIVE_ROOT_COLLECTION_URI, ROOT_COLLECTION, ROOT_COLLECTION_NAME, ROOT_COLLECTION_URI, SYSTEM, SYSTEM_COLLECTION, SYSTEM_COLLECTION_NAME, SYSTEM_COLLECTION_URI, TEMP_COLLECTION, TEMP_COLLECTION_NAME, TEMP_COLLECTION_URI, XMLDB_SCHEME, XMLDB_URI_PREFIX
 
Method Summary
 String getApiName()
           
 String getAuthority()
           
 String getContext()
           
 String getFragment()
           
 String getHost()
           
 String getInstanceName()
           
 int getPort()
           
 String getQuery()
           
 String getRawAuthority()
           
 String getRawFragment()
           
 String getRawQuery()
           
 String getRawUserInfo()
           
 URI getURI()
          This returns a proper heirarchical URI - the xmldb scheme is trimmed from the beginning.
 String getUserInfo()
           
 URI getXmldbURI()
          This returns an xmldb uri.
 boolean isAbsolute()
           
 boolean isContextAbsolute()
           
 XmldbURI normalizeContext()
           
 URI relativizeContext(URI uri)
           
 URI resolveContext(String str)
           
 URI resolveContext(URI uri)
           
 String toString()
           
 
Methods inherited from class org.exist.xmldb.XmldbURI
append, append, appendInternal, checkPath, checkPath2, compareTo, create, create, create, create, createInternal, endsWith, endsWith, equals, equalsInternal, getCollectionPath, getPathComponents, getPathSegments, getRawCollectionPath, hashCode, isCollectionPathAbsolute, lastSegment, makeAbsolute, normalizeCollectionName, normalizeCollectionPath, numSegments, prepend, recoverPseudoURIs, relativizeCollectionPath, removeLastSegment, resolveCollectionPath, resolveCollectionPath, startsWith, startsWith, toASCIIString, toCollectionPathURI, toURL, trimFromBeginning, trimFromBeginning, xmldbUriFor, xmldbUriFor, xmldbUriFor, xmldbUriFor, xmldbUriFor
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getURI

public URI getURI()
Description copied from class: XmldbURI
This returns a proper heirarchical URI - the xmldb scheme is trimmed from the beginning. The scheme will be the instance name, and all other fields will be populated as would be expected from a heirarchical URI

Overrides:
getURI in class XmldbURI
Returns:
DOCUMENT ME!
See Also:
XmldbURI.getXmldbURI(java.net.URI)

getXmldbURI

public URI getXmldbURI()
Description copied from class: XmldbURI
This returns an xmldb uri. This is the most generic sort of uri - the only fields set in the uri are scheme and schemeSpecificPart

Overrides:
getXmldbURI in class XmldbURI
Returns:
DOCUMENT ME!

getInstanceName

public String getInstanceName()
Overrides:
getInstanceName in class XmldbURI

getApiName

public String getApiName()
Overrides:
getApiName in class XmldbURI

getContext

public String getContext()
Overrides:
getContext in class XmldbURI

isAbsolute

public boolean isAbsolute()
Overrides:
isAbsolute in class XmldbURI

isContextAbsolute

public boolean isContextAbsolute()
Overrides:
isContextAbsolute in class XmldbURI

normalizeContext

public XmldbURI normalizeContext()
Overrides:
normalizeContext in class XmldbURI

relativizeContext

public URI relativizeContext(URI uri)
Overrides:
relativizeContext in class XmldbURI

resolveContext

public URI resolveContext(String str)
                   throws NullPointerException,
                          IllegalArgumentException
Overrides:
resolveContext in class XmldbURI
Throws:
NullPointerException
IllegalArgumentException

resolveContext

public URI resolveContext(URI uri)
                   throws NullPointerException
Overrides:
resolveContext in class XmldbURI
Throws:
NullPointerException

toString

public String toString()
Overrides:
toString in class XmldbURI

getAuthority

public String getAuthority()
Overrides:
getAuthority in class XmldbURI

getFragment

public String getFragment()
Overrides:
getFragment in class XmldbURI

getPort

public int getPort()
Overrides:
getPort in class XmldbURI

getQuery

public String getQuery()
Overrides:
getQuery in class XmldbURI

getRawAuthority

public String getRawAuthority()
Overrides:
getRawAuthority in class XmldbURI

getHost

public String getHost()
Overrides:
getHost in class XmldbURI

getUserInfo

public String getUserInfo()
Overrides:
getUserInfo in class XmldbURI

getRawFragment

public String getRawFragment()
Overrides:
getRawFragment in class XmldbURI

getRawQuery

public String getRawQuery()
Overrides:
getRawQuery in class XmldbURI

getRawUserInfo

public String getRawUserInfo()
Overrides:
getRawUserInfo in class XmldbURI


Copyright (C) The eXist-db Project. All rights reserved.