Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.url.nxdoc
Class PropertyURL

java.lang.Object
  extended by org.nuxeo.ecm.core.url.nxdoc.PropertyURL
All Implemented Interfaces:
java.net.URLStreamHandlerFactory

public class PropertyURL
extends java.lang.Object
implements java.net.URLStreamHandlerFactory

Author:
Bogdan Stefanescu

Constructor Summary
PropertyURL()
           
 
Method Summary
static java.net.URL createURL(DocumentModel doc, java.lang.String xpath)
           
static java.net.URL createURL(java.lang.String repository, java.lang.String docId, java.lang.String xpath)
           
static java.net.URL createURL(java.lang.String repository, java.lang.String docId, java.lang.String xpath, java.lang.String sid)
           
 java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
           
static java.net.URL getURL(DocumentModel doc, java.lang.String xpath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyURL

public PropertyURL()
Method Detail

getURL

public static java.net.URL getURL(DocumentModel doc,
                                  java.lang.String xpath)

createURL

public static java.net.URL createURL(java.lang.String repository,
                                     java.lang.String docId,
                                     java.lang.String xpath)
                              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

createURL

public static java.net.URL createURL(java.lang.String repository,
                                     java.lang.String docId,
                                     java.lang.String xpath,
                                     java.lang.String sid)
                              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

createURL

public static java.net.URL createURL(DocumentModel doc,
                                     java.lang.String xpath)
                              throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

createURLStreamHandler

public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
Specified by:
createURLStreamHandler in interface java.net.URLStreamHandlerFactory

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.