org.nuxeo.ecm.core.url.nxdoc
Class PropertyURL
java.lang.Object
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
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 |
PropertyURL
public PropertyURL()
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.