org.objectweb.jonathan.libs.kernel.decoders
Class JSequence

java.lang.Object
  extended by org.objectweb.jonathan.libs.kernel.JComponent
      extended by org.objectweb.jonathan.libs.kernel.decoders.LazyComponent
          extended by 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.


Field Summary
protected  Element self
           
 
Fields inherited from class org.objectweb.jonathan.libs.kernel.decoders.LazyComponent
initialized
 
Fields inherited from class org.objectweb.jonathan.libs.kernel.JComponent
int_value, reference, type, value
 
Constructor Summary
JSequence(java.lang.String _elements_class, java.util.Enumeration _elements)
           
 
Method Summary
 Component duplicate()
           
 Element getElement(Name _name)
          Returns the element in the target component identified by name, null if no element exists under name name.
protected  void initialize()
          JSequence specific initialization code.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.decoders.LazyComponent
getIntValue, getType, getValue
 
Methods inherited from class org.objectweb.jonathan.libs.kernel.JComponent
fork, getComponent, getFactoryValue, getReference, getValue, internalFork, reset, setReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

self

protected Element self
Constructor Detail

JSequence

public JSequence(java.lang.String _elements_class,
                 java.util.Enumeration _elements)
Method Detail

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.