|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.DefaultContext
A default implementation of the Context interface.
| Constructor Summary | |
DefaultContext()
|
|
| Method Summary | |
void |
add(java.lang.String aKey,
java.lang.Object aValue)
Adds a context entry. |
java.lang.Object |
get(java.lang.String aKey)
Searches for the value with the specified attribute key in this context. |
java.lang.String[] |
getAttributeNames()
Returns the names of all atttributes of this context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultContext()
| Method Detail |
public java.lang.Object get(java.lang.String aKey)
Context
get in interface ContextaKey - the attribute key.
Contextpublic java.lang.String[] getAttributeNames()
Context
getAttributeNames in interface ContextContext
public void add(java.lang.String aKey,
java.lang.Object aValue)
aKey - the context keyaValue - the value for aKey
|
Back to the Checkstyle Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||