org.exist.xmldb
Class FullXmldbURI
java.lang.Object
org.exist.xmldb.XmldbURI
org.exist.xmldb.FullXmldbURI
- All Implemented Interfaces:
- Comparable
public class FullXmldbURI
- extends XmldbURI
Fields inherited from class org.exist.xmldb.XmldbURI |
API_LOCAL, API_REST, API_WEBDAV, API_XMLRPC, CONFIG_COLLECTION_URI, DEFAULT_INSTANCE_NAME, EMBEDDED_SERVER_AUTHORITY, EMBEDDED_SERVER_URI, EMPTY_URI, METADATA_COLLECTION_URI, NO_PORT, RELATIVE_ROOT_COLLECTION_URI, ROOT_COLLECTION_CONFIG_URI, ROOT_COLLECTION_URI, SYSTEM_COLLECTION_URI, TEMP_COLLECTION_URI, XMLDB_SCHEME, XMLDB_URI_PREFIX |
Methods inherited from class org.exist.xmldb.XmldbURI |
append, append, appendInternal, checkPath, checkPath2, compareTo, 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 |
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
- 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
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) Wolfgang Meier. All rights reserved.