|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mentata.l3d.L3DPath
A bean identifying a context, object, entry, and/or attribute. This is a utility bean used for addressing contexts, objects, identifiers, and attributes with a simple expressive grammar employing forward slashes, as in:
/<context>/<object>/<identifier>/<attribute>
A path can also be configured with an associated action and application. The class includes methods that apply encoding and decoding on a string representation of the path to make it appropriate for use in URIs. Path beans are available through objects or can be created and defined manually.
| Constructor Summary | |
L3DPath()
|
|
| Method Summary | |
String |
getAction()
Returns the action name from the path. |
String |
getApplication()
Returns the application name from the path. |
String |
getAttribute()
Returns the attribute name from the path. |
String |
getContext()
Returns the context name from the path. |
String |
getIdentifier()
Returns the identifier from the path. |
String |
getObject()
Returns the object name from the path. |
String |
getRemainder()
Returns the remainder string from the path. |
String |
getString()
Returns a representation of the path. |
String |
getURI()
Returns a representation of the complete application path. |
void |
setAction(String action)
Sets the action name for the path. |
void |
setApplication(String application)
Sets the application name for the path. |
void |
setAttribute(String attribute)
Sets the attribute name for the path. |
void |
setContext(String context)
Sets the context name for the path. |
void |
setIdentifier(String identifier)
Sets the identifier for the path. |
void |
setObject(String object)
Sets the object name for the path. |
void |
setRemainder(String remainder)
Sets the remainder string for the path. |
void |
setURI(String uri)
Configures the path according to a decoded and translated URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public L3DPath()
| Method Detail |
public void setContext(String context)
context - a context namepublic String getContext()
public void setObject(String object)
object - an object namepublic String getObject()
public void setIdentifier(String identifier)
identifier - an entry identifierpublic String getIdentifier()
public void setAttribute(String attribute)
attribute - an attribute namepublic String getAttribute()
public void setAction(String action)
action - an action namepublic String getAction()
public void setApplication(String application)
application - an application namepublic String getApplication()
public void setRemainder(String remainder)
remainder - an additional string for the pathpublic String getRemainder()
public String getString()
public void setURI(String uri)
uri - an URL-encoded, backslash-delimited stringpublic String getURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||