com.generationjava.namespace
Class AbstractNamespace

java.lang.Object
  extended bycom.generationjava.namespace.AbstractNamespace
All Implemented Interfaces:
Namespace, Serializable
Direct Known Subclasses:
SimpleNamespace

public abstract class AbstractNamespace
extends Object
implements Namespace

Abstract representation of an namespace.

See Also:
Serialized Form

Constructor Summary
AbstractNamespace()
           
 
Method Summary
abstract  Object getValue(String name)
          Get the value in this namespace under the specified name.
 boolean hasValue(String name)
          Does the namespace have a value under the specified name.
abstract  Iterator iterateNames()
          The names in a Namespace
abstract  void putValue(String name, 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
 

Constructor Detail

AbstractNamespace

public AbstractNamespace()
Method Detail

getValue

public abstract Object getValue(String name)
Get the value in this namespace under the specified name.

Specified by:
getValue in interface Namespace

hasValue

public boolean hasValue(String name)
Does the namespace have a value under the specified name.

Specified by:
hasValue in interface Namespace

putValue

public abstract void putValue(String name,
                              Object info)
Put a value in this namespace, under the specified name.

Specified by:
putValue in interface Namespace

iterateNames

public abstract Iterator iterateNames()
The names in a Namespace

Specified by:
iterateNames in interface Namespace


Copyright © 2000-2005 OSJava. All Rights Reserved.