public class URI2RepositoryMapping extends Object
Constructor and Description |
---|
URI2RepositoryMapping() |
URI2RepositoryMapping(String uriPrefix,
String repository,
String handlePrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
cleanHandle(String handle)
Clean a handle.
|
String |
getHandle(String uri)
Create a node handle based on an uri.
|
String |
getHandlePrefix() |
String |
getRepository() |
String |
getURI(Link uuidLink) |
String |
getURI(String handle)
Create a uri based on a handle.
|
String |
getURIPrefix() |
boolean |
matches(String uri)
True if this mapping can get applied to the specified uri.
|
void |
setHandlePrefix(String handlePrefix) |
void |
setRepository(String repository) |
void |
setURIPrefix(String uriPrefix) |
String |
toString() |
public URI2RepositoryMapping(String uriPrefix, String repository, String handlePrefix)
public URI2RepositoryMapping()
public boolean matches(String uri)
protected String cleanHandle(String handle)
public String getHandlePrefix()
public void setHandlePrefix(String handlePrefix)
public String getRepository()
public void setRepository(String repository)
public String getURIPrefix()
public void setURIPrefix(String uriPrefix)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.