public class SmartPathFunction extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
backwardsCompatible |
protected String |
documentRoot |
protected String |
nodeNumber |
protected MMObjectBuilder |
parent |
protected String |
path |
protected static Cache<String,String> |
smartPathCache |
protected String |
version |
protected ResourceLoader |
webRoot |
| Constructor and Description |
|---|
SmartPathFunction(MMObjectBuilder p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBackwardsCompatible() |
ResourceLoader |
getLoader() |
protected String |
getSmartPath()
The found path as a
String, or null if not found |
void |
setBackwardsCompatible(boolean b) |
void |
setLoader(ResourceLoader r) |
void |
setNode(Node n) |
void |
setNodeNumber(String nm)
The number or alias of the node to filter on
|
void |
setPath(String p)
The subpath of the path to search
|
void |
setRoot(String r)
Deprecated.
|
void |
setVersion(String v)
The version number (or
null if not applicable) to filter on |
String |
smartKey() |
String |
smartpath()
The found path as a
String, or null if not found |
protected final MMObjectBuilder parent
protected String nodeNumber
protected String version
protected String path
protected String documentRoot
protected boolean backwardsCompatible
protected ResourceLoader webRoot
public SmartPathFunction(MMObjectBuilder p)
public void setNodeNumber(String nm)
public void setNode(Node n)
public void setVersion(String v)
null if not applicable) to filter onpublic void setRoot(String r)
setLoader(ResourceLoader).public void setLoader(ResourceLoader r)
public ResourceLoader getLoader()
public void setPath(String p)
public void setBackwardsCompatible(boolean b)
public boolean getBackwardsCompatible()
public String smartKey()
public final String smartpath()
String, or null if not foundprotected String getSmartPath()
String, or null if not foundMMBase 1.9-SNAPSHOT - ${javadoctimestamp}