Class UnifiedNodeReference
java.lang.Object
org.exoplatform.services.jcr.ext.resource.UnifiedNodeReference
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnifiedNodeReference(String spec) UnifiedNodeReference(String repository, String workspace, String path) UnifiedNodeReference(String repository, String workspace, org.exoplatform.services.jcr.datamodel.Identifier identifier) UnifiedNodeReference(URI uri) UnifiedNodeReference(URI uri, String defaultRepository, String defaultWorkspace) UnifiedNodeReference(URL url) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.services.jcr.datamodel.IdentifiergetPath()getURI()getURL()static URLStreamHandlerbooleanbooleanisPath()
-
Field Details
-
JCR_SCHEME
- See Also:
-
-
Constructor Details
-
UnifiedNodeReference
-
UnifiedNodeReference
- Throws:
URISyntaxException
-
UnifiedNodeReference
- Throws:
URISyntaxException
-
UnifiedNodeReference
public UnifiedNodeReference(URI uri, String defaultRepository, String defaultWorkspace) throws URISyntaxException - Throws:
URISyntaxException
-
UnifiedNodeReference
-
UnifiedNodeReference
-
-
Method Details
-
getRepository
- Returns:
- the repository name.
-
getWorkspace
- Returns:
- the workspace name.
-
getIdentitifier
public org.exoplatform.services.jcr.datamodel.Identifier getIdentitifier()- Returns:
- the node identifier.
-
isIdentitifier
public boolean isIdentitifier()- Returns:
- true if UUID used as node identifier.
-
getPath
- Returns:
- the node path.
-
isPath
public boolean isPath()- Returns:
- true if full path used as node identifier.
-
getUserInfo
- Returns:
- the user info part of URL, it looks like
user:pass.
-
getURI
- Returns:
- the URI of node.
- Throws:
URISyntaxException
-
getURL
- Returns:
- the URL of node.
- Throws:
MalformedURLException
-
getURLStreamHandler
- Returns:
- the handler for protocol
jcr. - See Also:
-