com.jxml.quick.tf
Class QGenericTargetFactory

java.lang.Object
  |
  +--com.jxml.quick.tf.QGenericTargetFactory
All Implemented Interfaces:
QTargetFactory
Direct Known Subclasses:
QAccessTF, QTargetFactoryTF

public abstract class QGenericTargetFactory
extends Object
implements QTargetFactory


Constructor Summary
QGenericTargetFactory()
           
 
Method Summary
 void add(Object object, String name, String text, QAccess access, Object parent, QTargetFactory parentFactory, QContext context)
           
abstract  Object create(QContext context)
           
 Field[] getFields(QContext context)
           
 String getName(Object object)
           
 PropertyDescriptor[] getPropertyDescriptors(QContext context)
           
 String getText(Object object, QContext context)
           
protected abstract  void insert(Object wrapper, Object object)
           
abstract  boolean isInstance(Object object, QContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QGenericTargetFactory

public QGenericTargetFactory()
Method Detail

insert

protected abstract void insert(Object wrapper,
                               Object object)

create

public abstract Object create(QContext context)
                       throws QPE
Specified by:
create in interface QTargetFactory

isInstance

public abstract boolean isInstance(Object object,
                                   QContext context)
Specified by:
isInstance in interface QTargetFactory

getName

public String getName(Object object)
Specified by:
getName in interface QTargetFactory

getText

public String getText(Object object,
                      QContext context)
               throws QPE
Specified by:
getText in interface QTargetFactory

add

public void add(Object object,
                String name,
                String text,
                QAccess access,
                Object parent,
                QTargetFactory parentFactory,
                QContext context)
         throws QPE
Specified by:
add in interface QTargetFactory

getPropertyDescriptors

public PropertyDescriptor[] getPropertyDescriptors(QContext context)
                                            throws QPE
Specified by:
getPropertyDescriptors in interface QTargetFactory

getFields

public Field[] getFields(QContext context)
                  throws QPE
Specified by:
getFields in interface QTargetFactory