org.acedb.staticobj
Class StaticAceSet

java.lang.Object
  |
  +--org.acedb.staticobj.StaticAceSet

public class StaticAceSet
extends java.lang.Object
implements AceSet


Constructor Summary
StaticAceSet(AceSet parent, AceURL url, java.lang.String name)
           
 
Method Summary
 void add(java.lang.String name, AceSet set)
           
 boolean contains(java.lang.String name)
          Returns whether an object is contained under a given name.
 AceSet filter(java.lang.String expr)
          Retrieve a sub-set of members by a filter string.
 java.lang.String getName()
          The name of this node - possibly null.
 AceSet getParent()
          The logical parent of this object or null if there is no logical parent.
 java.util.Iterator iterator()
          An iterator over every thing in this set.
 java.util.Iterator nameIterator()
          An iterator over the names associated with each thing in the set.
 AceSet retrieve(java.lang.String name)
          Retrieve a memeber by name.
 int size()
          The number of items in this AceSet.
 AceURL toURL()
          A URL that can be used to retrieve this set (assuming that the server will still be there when you try).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticAceSet

public StaticAceSet(AceSet parent,
                    AceURL url,
                    java.lang.String name)
Method Detail

size

public int size()
Description copied from interface: AceSet
The number of items in this AceSet.
Specified by:
size in interface AceSet

toURL

public AceURL toURL()
Description copied from interface: AceSet
A URL that can be used to retrieve this set (assuming that the server will still be there when you try).
Specified by:
toURL in interface AceSet
Tags copied from interface: AceSet
Throws:
AceURLException - if for any reason the URL can't be constructed

getName

public java.lang.String getName()
Description copied from interface: AceSet
The name of this node - possibly null.
Specified by:
getName in interface AceSet

getParent

public AceSet getParent()
Description copied from interface: AceSet
The logical parent of this object or null if there is no logical parent.
Specified by:
getParent in interface AceSet

nameIterator

public java.util.Iterator nameIterator()
Description copied from interface: AceSet
An iterator over the names associated with each thing in the set. Names are Strings.
Specified by:
nameIterator in interface AceSet

iterator

public java.util.Iterator iterator()
Description copied from interface: AceSet
An iterator over every thing in this set. Things are AceSet-derived objects.
Specified by:
iterator in interface AceSet

contains

public boolean contains(java.lang.String name)
Description copied from interface: AceSet
Returns whether an object is contained under a given name.
Specified by:
contains in interface AceSet

retrieve

public AceSet retrieve(java.lang.String name)
                throws AceException
Description copied from interface: AceSet
Retrieve a memeber by name.
Specified by:
retrieve in interface AceSet

add

public void add(java.lang.String name,
                AceSet set)

filter

public AceSet filter(java.lang.String expr)
Description copied from interface: AceSet
Retrieve a sub-set of members by a filter string.
Specified by:
filter in interface AceSet