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:
URLStreamHandlerFactory

public class PropertyURL
extends Object
implements URLStreamHandlerFactory

Author:
Bogdan Stefanescu

Constructor Summary
PropertyURL()
           
 
Method Summary
static URL createURL(DocumentModel doc, String xpath)
           
static URL createURL(String repository, String docId, String xpath)
           
static URL createURL(String repository, String docId, String xpath, String sid)
           
 URLStreamHandler createURLStreamHandler(String protocol)
           
static URL getURL(DocumentModel doc, 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 URL getURL(DocumentModel doc,
                         String xpath)

createURL

public static URL createURL(String repository,
                            String docId,
                            String xpath)
                     throws MalformedURLException
Throws:
MalformedURLException

createURL

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

createURL

public static URL createURL(DocumentModel doc,
                            String xpath)
                     throws MalformedURLException
Throws:
MalformedURLException

createURLStreamHandler

public URLStreamHandler createURLStreamHandler(String protocol)
Specified by:
createURLStreamHandler in interface URLStreamHandlerFactory

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.