Nuxeo Enterprise Platform 5.4

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 java.lang.Object
implements UriResolver

Author:
Alexandre Russel

Constructor Summary
DefaultUriResolver()
           
 
Method Summary
 java.lang.String getBaseUrl(java.net.URI uri)
           
 java.util.List<java.net.URI> getSearchURI(java.net.URI uri)
           
 java.net.URI translateFromGraphURI(java.net.URI uri, java.lang.String baseUrl)
           
 java.net.URI translateToGraphURI(java.net.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 java.lang.String getBaseUrl(java.net.URI uri)
Specified by:
getBaseUrl in interface UriResolver

getSearchURI

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

translateFromGraphURI

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

translateToGraphURI

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.