|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> context >> [ message overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.tethys.context.message
Class MessageContext

java.lang.Objectcom.aendvari.tethys.context.Context
com.aendvari.tethys.context.message.MessageContext
- public class MessageContext
- extends com.aendvari.tethys.context.Context
This class is used to hold message context information.
A message context refers to another portion of the message context hierarchy. This allows relative message names to be used within several contexts.
| Field Summary | |
protected java.lang.String |
contextPath
The context path that this context refers to. |
| Fields inherited from class com.aendvari.tethys.context.Context |
|
| Constructor Summary | |
MessageContext(java.lang.String location,
java.lang.String contextPath)
Constructs a MessageContext from the supplied values. |
|
MessageContext(java.lang.String location,
java.lang.String contextPath,
MessageContext parent)
Constructs a MessageContext from the supplied values. |
|
| Method Summary | |
java.lang.String |
extendContextPath(java.lang.String relative)
Extends the context path of this context with the supplied relative path. |
java.lang.String |
getContextPath()
|
void |
setContextPath(java.lang.String path)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class com.aendvari.tethys.context.Context |
combinePaths, extendLocation, getLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
contextPath
protected java.lang.String contextPath
- The context path that this context refers to.
| Constructor Detail |
MessageContext
public MessageContext(java.lang.String location, java.lang.String contextPath)
- Constructs a
MessageContextfrom the supplied values.
MessageContext
public MessageContext(java.lang.String location, java.lang.String contextPath, MessageContext parent)
- Constructs a
MessageContextfrom the supplied values.
| Method Detail |
setContextPath
public void setContextPath(java.lang.String path)
getContextPath
public java.lang.String getContextPath()
extendContextPath
public java.lang.String extendContextPath(java.lang.String relative)
- Extends the context path of this context with the supplied relative path.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> com >> aendvari >> tethys >> context >> [ message overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC