|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameContext
A NameContext represents an interface for binding String names to Object "elements". The interface includes methods for putting, getting, removing and listing elements, as well as testing to see if an element is bound.
A NameContext also implements NameContextElement, meaning that it may itself be bound into another NameContext, and has a property "nameContext" containing the NameContext into which it has been bound. This allows NameResolvers to navigate through a hierarchy of NameContexts.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
java.lang.Object |
getElement(java.lang.String pName)
Returns the element bound to the specified name. |
boolean |
isElementBound(java.lang.String pName)
Returns true if the name has an element bound to it, false if not. |
java.util.Enumeration |
listElementNames()
Returns the list of element names as an Enumeration |
java.util.Enumeration |
listElements()
Returns the list of bound elements as an Enumeration |
void |
putElement(java.lang.String pName,
java.lang.Object pElement)
Binds the specified element to the specified name. |
void |
removeElement(java.lang.String pName)
Removes the binding for the specified name. |
Methods inherited from interface atg.naming.NameContextElement |
---|
getName, getNameContext |
Methods inherited from interface atg.naming.NameContextBindingListener |
---|
nameContextElementBound, nameContextElementUnbound |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.lang.Object getElement(java.lang.String pName)
void putElement(java.lang.String pName, java.lang.Object pElement)
void removeElement(java.lang.String pName)
boolean isElementBound(java.lang.String pName)
java.util.Enumeration listElementNames()
java.util.Enumeration listElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |