org.objectweb.jonathan.libs.kernel.decoders

Class JAlias

Implemented Interfaces:
Component, Forkable

public class JAlias
extends java.lang.Object
implements Forkable

The alias runtime component implementation.

Field Summary

protected Element
alias
the referenced element
protected Name
alias_name
protected Element
reference

Constructor Summary

JAlias(String _alias_name, char separator)
JAlias(Name _alias_name)

Method Summary

Component
fork()
Component
getComponent(Name _name)
Element
getElement(Name name)
Object
getFactoryValue()
int
getIntValue()
Element
getReference()
Class
getType()
Object
getValue()
Object
getValue(Name _name)
protected void
initialize()
JAlias specific initialization code.
Component
internalFork()
Element
setReference(Element _reference)
String
toString()

Field Details

alias

protected Element alias
the referenced element


alias_name

protected Name alias_name


reference

protected Element reference

Constructor Details

JAlias

public JAlias(String _alias_name,
              char separator)


JAlias

public JAlias(Name _alias_name)

Method Details

fork

public Component fork()
Specified by:
fork in interface Component


getComponent

public final Component getComponent(Name _name)
Specified by:
getComponent in interface Component


getElement

public Element getElement(Name name)
Specified by:
getElement in interface Component


getFactoryValue

public Object getFactoryValue()
            throws JonathanException
Specified by:
getFactoryValue in interface Component


getIntValue

public int getIntValue()
Specified by:
getIntValue in interface Component


getReference

public Element getReference()
Specified by:
getReference in interface Component


getType

public Class getType()
Specified by:
getType in interface Component


getValue

public Object getValue()
Specified by:
getValue in interface Component


getValue

public final Object getValue(Name _name)
Specified by:
getValue in interface Component


initialize

protected final void initialize()
JAlias specific initialization code. Retrieves the aliased Element (but don't instantiate its value!). Used used internally by JComponent.


internalFork

public Component internalFork()
Specified by:
internalFork in interface Forkable


setReference

public Element setReference(Element _reference)
Specified by:
setReference in interface Component


toString

public String toString()