|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.extensions.webscripts.PathImpl
public class PathImpl
Basic implementation of a Web Script Path Used for package & url trees.
| Constructor Summary | |
|---|---|
PathImpl(String path)
Construct |
|
| Method Summary | |
|---|---|
void |
addScript(WebScript script)
Associate Web Script with Path |
static String |
concatPath(String path1,
String path2)
Helper to concatenate paths |
PathImpl |
createChildPath(String path)
Create a Child Path |
Path[] |
getChildren()
Gets the child paths |
String |
getName()
Gets the name of the path (last path segment) |
Path |
getParent()
Gets the parent path |
String |
getPath()
Gets the full path |
WebScript[] |
getScripts()
Gets Web Scripts associated with this path |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathImpl(String path)
path - | Method Detail |
|---|
public static String concatPath(String path1,
String path2)
path1 - path2 -
public PathImpl createChildPath(String path)
path - child path name
public void addScript(WebScript script)
script - public Path[] getChildren()
Path
getChildren in interface Pathpublic WebScript[] getScripts()
Path
getScripts in interface Pathpublic String getName()
Path
getName in interface Pathpublic Path getParent()
Path
getParent in interface Pathpublic String getPath()
Path
getPath in interface Pathpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||