org.exoplatform.services.jcr.ext.resource
Class UnifiedNodeReference
java.lang.Object
org.exoplatform.services.jcr.ext.resource.UnifiedNodeReference
public class UnifiedNodeReference
- extends Object
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCR_SCHEME
public static final String JCR_SCHEME
- See Also:
- Constant Field Values
UnifiedNodeReference
public UnifiedNodeReference(String spec)
throws URISyntaxException,
MalformedURLException
- Throws:
URISyntaxException
MalformedURLException
UnifiedNodeReference
public UnifiedNodeReference(URL url)
throws URISyntaxException
- Throws:
URISyntaxException
UnifiedNodeReference
public UnifiedNodeReference(URI uri)
throws URISyntaxException
- Throws:
URISyntaxException
UnifiedNodeReference
public UnifiedNodeReference(URI uri,
String defaultRepository,
String defaultWorkspace)
throws URISyntaxException
- Throws:
URISyntaxException
UnifiedNodeReference
public UnifiedNodeReference(String repository,
String workspace,
Identifier identifier)
UnifiedNodeReference
public UnifiedNodeReference(String repository,
String workspace,
String path)
getRepository
public String getRepository()
- Returns:
- the repository name.
getWorkspace
public String getWorkspace()
- Returns:
- the workspace name.
getIdentitifier
public Identifier getIdentitifier()
- Returns:
- the node identifier.
isIdentitifier
public boolean isIdentitifier()
- Returns:
- true if UUID used as node identifier.
getPath
public String getPath()
- Returns:
- the node path.
isPath
public boolean isPath()
- Returns:
- true if full path used as node identifier.
getUserInfo
public String getUserInfo()
- Returns:
- the user info part of URL, it looks like
user:pass.
getURI
public URI getURI()
throws URISyntaxException
- Returns:
- the URI of node.
- Throws:
URISyntaxException
getURL
public URL getURL()
throws MalformedURLException
- Returns:
- the URL of node.
- Throws:
MalformedURLException
getURLStreamHandler
public static URLStreamHandler getURLStreamHandler()
- Returns:
- the handler for protocol
jcr. - See Also:
URLStreamHandler
Copyright © 2012 eXo Platform SAS. All Rights Reserved.