jfun.yan.xml.nuts.optional
Class InjectionCase

java.lang.Object
  extended by jfun.yan.xml.nut.Nut
      extended by jfun.yan.xml.nuts.LiteralNut
          extended by jfun.yan.xml.nuts.MapEntry
              extended by jfun.yan.xml.nuts.optional.InjectionCase
All Implemented Interfaces:
java.io.Serializable

public class InjectionCase
extends MapEntry

An injection case. Supports "type" and "injection" attributes.

Author:
Ben Yu Dec 17, 2005 12:33:53 PM
See Also:
Serialized Form

Constructor Summary
InjectionCase()
           
 
Method Summary
 void setInjection(Component inj)
           
 void setType(java.lang.Class type)
           
 
Methods inherited from class jfun.yan.xml.nuts.MapEntry
getKey_type, getKey, setKey_type, setKey
 
Methods inherited from class jfun.yan.xml.nuts.LiteralNut
add, getDefault, getDefault, getDefaultText, getType, getVal, getVal, getValueText, justify, setDefault, setVal
 
Methods inherited from class jfun.yan.xml.nut.Nut
cast, checkDuplicate, checkMandatory, checkMandatory, convert, getComponentClassLoader, getId, getNutClassLoader, getNutEnvironment, getParameterWiring, getPropertyWiring, getSequenceNumber, getTagLocation, getTagName, initGloballyDefined, initNutEnvironment, initSequenceNumber, initTagLocation, initTagName, isGloballyDefined, raise, raise, register, registerEagerInstantiation, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InjectionCase

public InjectionCase()
Method Detail

setType

public void setType(java.lang.Class type)
Overrides:
setType in class LiteralNut

setInjection

public void setInjection(Component inj)