|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.URI2RepositoryMapping
public class URI2RepositoryMapping
Describes a uri to repository mapping.
Constructor Summary | |
---|---|
URI2RepositoryMapping()
|
|
URI2RepositoryMapping(String uriPrefix,
String repository,
String handlePrefix)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URI2RepositoryMapping(String uriPrefix, String repository, String handlePrefix)
public URI2RepositoryMapping()
Method Detail |
---|
public boolean matches(String uri)
public String getHandle(String uri)
protected String cleanHandle(String handle)
public String getURI(String handle)
public String getURI(Link uuidLink)
public String getHandlePrefix()
public void setHandlePrefix(String handlePrefix)
public String getRepository()
public void setRepository(String repository)
public String getURIPrefix()
public void setURIPrefix(String uriPrefix)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |