Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.service
Class DefaultUriResolver

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.service.DefaultUriResolver
All Implemented Interfaces:
UriResolver

public class DefaultUriResolver
extends Object
implements UriResolver

Author:
Alexandre Russel

Constructor Summary
DefaultUriResolver()
           
 
Method Summary
 String getBaseUrl(URI uri)
           
 List<URI> getSearchURI(URI uri)
           
 URI translateFromGraphURI(URI uri, String baseUrl)
           
 URI translateToGraphURI(URI uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUriResolver

public DefaultUriResolver()
Method Detail

getBaseUrl

public String getBaseUrl(URI uri)
Specified by:
getBaseUrl in interface UriResolver

getSearchURI

public List<URI> getSearchURI(URI uri)
                       throws AnnotationException
Specified by:
getSearchURI in interface UriResolver
Throws:
AnnotationException

translateFromGraphURI

public URI translateFromGraphURI(URI uri,
                                 String baseUrl)
                          throws AnnotationException
Specified by:
translateFromGraphURI in interface UriResolver
Throws:
AnnotationException

translateToGraphURI

public URI translateToGraphURI(URI uri)
                        throws AnnotationException
Specified by:
translateToGraphURI in interface UriResolver
Throws:
AnnotationException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.