com.sun.msv.grammar
public abstract class ReferenceContainer extends Object implements Serializable
Method Summary | |
---|---|
ReferenceExp[] | getAll() obtains all items in this container. |
Iterator | iterator() iterates all ReferenceExp in this container |
void | redefine(String name, ReferenceExp newExp)
replaces the current ReferenceExp by newly specified reference exp. |
ReferenceExp | remove(String name) removes an object from this container.
|
int | size() gets the number of ReferenceExps in this container. |
ReferenceExp | _get(String name) gets a referenced expression
Derived class should provide type-safe accesser methods.
|
ReferenceExp | _getOrCreate(String name)
gets or creates ReferenceExp object.
|
Returns: removed object. Null if no such name is found.
Returns: null if no expression is defined with the given name.