org.objectweb.jonathan.libs.kernel.decoders
Class JSequence
java.lang.Object
org.objectweb.jonathan.libs.kernel.JComponent
org.objectweb.jonathan.libs.kernel.decoders.LazyComponent
org.objectweb.jonathan.libs.kernel.decoders.JSequence
- All Implemented Interfaces:
- Component, Forkable
public class JSequence
- extends LazyComponent
The atom runtime component. Initialisation issues
are dealt with by the LazyComponent
implementation.
Constructor Summary |
JSequence(java.lang.String _elements_class,
java.util.Enumeration _elements)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
self
protected Element self
JSequence
public JSequence(java.lang.String _elements_class,
java.util.Enumeration _elements)
duplicate
public Component duplicate()
- Overrides:
duplicate
in class JComponent
toString
public java.lang.String toString()
- Overrides:
toString
in class JComponent
initialize
protected final void initialize()
- JSequence specific initialization code. Instantiates the JSequence's
own value. Used internally by
LazyComponent
.
- Specified by:
initialize
in class LazyComponent
getElement
public Element getElement(Name _name)
- Description copied from interface:
Component
- Returns the element in the target component identified by
name
,
null if no element exists under name name
.
- Specified by:
getElement
in interface Component
- Overrides:
getElement
in class JComponent
- Parameters:
_name
- the name of the element to be retrieved;
- Returns:
- the corresponding element, if any; null otherwise.