net.sf.morph.reflect.reflectors
Class BaseCompositeReflector

java.lang.Object
  extended by net.sf.morph.reflect.reflectors.BaseReflector
      extended by net.sf.morph.reflect.reflectors.BaseCompositeReflector
All Implemented Interfaces:
net.sf.composite.Component, DecoratedReflector, Reflector
Direct Known Subclasses:
SimpleDelegatingReflector, StubbornDelegatingReflector

public abstract class BaseCompositeReflector
extends BaseReflector

Since:
Oct 25, 2007
Author:
Matt Sgarlata

Field Summary
 
Fields inherited from class net.sf.morph.reflect.reflectors.BaseReflector
log
 
Constructor Summary
BaseCompositeReflector()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.Object[] getComponents()
           
 java.lang.Class getComponentType()
           
 net.sf.composite.validate.ComponentValidator getComponentValidator()
           
 net.sf.composite.specialize.Specializer getSpecializer()
           
protected  boolean isPerformingLogging()
          Indicates whether this reflector is writing log messages
 boolean isSpecializable(java.lang.Class type)
           
 void setComponents(java.lang.Object[] components)
           
 void setComponentValidator(net.sf.composite.validate.ComponentValidator validator)
           
 void setSpecializer(net.sf.composite.specialize.Specializer specializer)
           
 java.lang.Object specialize(java.lang.Class type)
           
 java.lang.String toString()
          
 
Methods inherited from class net.sf.morph.reflect.reflectors.BaseReflector
add, addImpl, checkIndex, checkIsReflectable, createWrapperInvocationHandler, get, get, getContainedType, getContainedTypeImpl, getImpl, getImpl, getIterator, getIteratorImpl, getPropertyNames, getPropertyNamesImpl, getReflectableCallCache, getReflectableClasses, getReflectableClassesImpl, getReflectorName, getSize, getSizeImpl, getType, getTypeImpl, getWrapper, getWrapperImpl, initialize, initializeImpl, isCachingIsReflectableCalls, isInitialized, isReadable, isReadableImpl, isReflectable, isReflectable, isReflectableImpl, isReflectableImpl, isStrictlyTyped, isValidIndex, isWrappingRuntimeExceptions, isWriteable, isWriteableImpl, newInstance, newInstanceImpl, newInstanceImpl, set, set, setCachingIsReflectableCalls, setImpl, setImpl, setInitialized, setReflectableCallCache, setReflectorName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseCompositeReflector

public BaseCompositeReflector()
Method Detail

isSpecializable

public boolean isSpecializable(java.lang.Class type)
                        throws net.sf.composite.specialize.SpecializationException
Throws:
net.sf.composite.specialize.SpecializationException

specialize

public java.lang.Object specialize(java.lang.Class type)

getComponentType

public java.lang.Class getComponentType()

isPerformingLogging

protected boolean isPerformingLogging()
Description copied from class: BaseReflector
Indicates whether this reflector is writing log messages

Overrides:
isPerformingLogging in class BaseReflector

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

toString

public java.lang.String toString()
Description copied from class: BaseReflector

Overrides:
toString in class BaseReflector

getComponents

public java.lang.Object[] getComponents()

setComponents

public void setComponents(java.lang.Object[] components)

getSpecializer

public net.sf.composite.specialize.Specializer getSpecializer()

setSpecializer

public void setSpecializer(net.sf.composite.specialize.Specializer specializer)

getComponentValidator

public net.sf.composite.validate.ComponentValidator getComponentValidator()

setComponentValidator

public void setComponentValidator(net.sf.composite.validate.ComponentValidator validator)


Copyright © 2004-2008.