com.generationjava.namespace
Class ServletNamespace
java.lang.Object
|
+--com.generationjava.namespace.AbstractNamespace
|
+--com.generationjava.namespace.ServletNamespace
- All Implemented Interfaces:
- Namespace, java.io.Serializable
- public class ServletNamespace
- extends AbstractNamespace
A servlet implementation of a Namespace.
The request overrides the session.
- See Also:
- Serialized Form
|
Constructor Summary |
ServletNamespace(javax.servlet.http.HttpServletRequest request)
|
ServletNamespace(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session)
|
|
Method Summary |
java.lang.Object |
getValue(java.lang.String name)
Get the value in this namespace under the specified name. |
java.util.Iterator |
iterateNames()
The names in a Namespace |
void |
putValue(java.lang.String name,
java.lang.Object info)
Put a value in this namespace, under the specified name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletNamespace
public ServletNamespace(javax.servlet.http.HttpServletRequest request)
ServletNamespace
public ServletNamespace(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session)
getValue
public java.lang.Object getValue(java.lang.String name)
- Description copied from class:
AbstractNamespace
- Get the value in this namespace under the specified name.
- Specified by:
getValue in interface Namespace- Specified by:
getValue in class AbstractNamespace
putValue
public void putValue(java.lang.String name,
java.lang.Object info)
- Description copied from class:
AbstractNamespace
- Put a value in this namespace, under the specified name.
- Specified by:
putValue in interface Namespace- Specified by:
putValue in class AbstractNamespace
iterateNames
public java.util.Iterator iterateNames()
- Description copied from class:
AbstractNamespace
- The names in a Namespace
- Specified by:
iterateNames in interface Namespace- Specified by:
iterateNames in class AbstractNamespace
Copyright © 2000-2003 GenerationJava. All Rights Reserved.