A C D E G I J M O P R S U X

A

AnnotationStrategy - Interface in de.keepondreaming.xml
Instances of this class provide a XmlConverter with lookup methods to receive metadata information not obtainable by runtime class information $Author: wintermond $ $Date: 2005/07/10 18:38:07 $ $Log: AnnotationStrategy.java,v $ Revision 1.1 2005/07/10 18:38:07 wintermond Renamed ParserStrategy to AnnotationStrategy Added support to annotate date format patterns Revision 1.3 2005/07/09 09:58:29 wintermond javadoc

C

capitalize(String) - Static method in class de.keepondreaming.xml.util.Util
Uppercases the first letter of a string if in is not null
characters(char[], int, int) - Method in class de.keepondreaming.xml.XmlConverter
 
ClassNameMappingObjectStrategy - Class in de.keepondreaming.xml
Resolves interfaces and attributes via a Properties mapping.
ClassNameMappingObjectStrategy(Properties) - Constructor for class de.keepondreaming.xml.ClassNameMappingObjectStrategy
Default constructor
ClassNameMappingObjectStrategy(Properties, boolean) - Constructor for class de.keepondreaming.xml.ClassNameMappingObjectStrategy
Constructor, specifying if in case of insufficient mapping information the call should get passed to the backup strategy
ClassProxy - Class in de.keepondreaming.xml
Creates a runtime proxy for an interface.
ClassProxy() - Constructor for class de.keepondreaming.xml.ClassProxy
Default constructor
ClassProxyAccess - Interface in de.keepondreaming.xml
Helper interface of ClassProxy to set/read attributes.
computePrimitiveClass(Object) - Static method in class de.keepondreaming.xml.util.Util
Retrieves for an object assignable to a primitive value the assigned primitive class type.
ContentAttribute - Annotation Type in de.keepondreaming.xml.annotations
Fetches the name of the setter attribute used to set the contents of a tag retreived via DefaultHandler.characters(char[], int, int) $Author: wintermond $ $Date: 2005/07/10 18:34:30 $ $Log: ContentAttribute.java,v $ Revision 1.2 2005/07/10 18:34:30 wintermond javadoc
convert(InputStream, Class) - Method in class de.keepondreaming.xml.XmlConverter
Reads the xml from the stream and sets the data structures accordingly using reflection.
createInstance(Class) - Method in class de.keepondreaming.xml.ClassNameMappingObjectStrategy
 
createInstance(Class) - Method in interface de.keepondreaming.xml.ObjectStrategy
Creates an instance of the type clazz.
createInstance(Class) - Method in class de.keepondreaming.xml.ProxyObjectStrategy
 
createObject(Class, String) - Static method in class de.keepondreaming.xml.util.Util
Creates a new instances of an object, if the object has a constructor with a single String parameter
createPrimitiveDefaultValue(Class) - Static method in class de.keepondreaming.xml.util.Util
Creates for a primitive class an object of the corresponding object type.

D

DateFormat - Annotation Type in de.keepondreaming.xml.annotations
Retrieves the format pattern in which attributes of type Date or its subclasses are formated $Author: wintermond $ $Date: 2005/07/10 18:34:30 $ $Log: DateFormat.java,v $ Revision 1.1 2005/07/10 18:34:30 wintermond javadoc
DateHandler - Class in de.keepondreaming.xml
Transforms Date strings to long values $Author: wintermond $ $Date: 2005/07/10 18:39:24 $ $Log: DateHandler.java,v $ Revision 1.1 2005/07/10 18:39:24 wintermond initial
DateHandler(AnnotationStrategy) - Constructor for class de.keepondreaming.xml.DateHandler
Default constructor
de.keepondreaming.xml - package de.keepondreaming.xml
 
de.keepondreaming.xml.annotations - package de.keepondreaming.xml.annotations
 
de.keepondreaming.xml.util - package de.keepondreaming.xml.util
 

E

endElement(String, String, String) - Method in class de.keepondreaming.xml.XmlConverter
 

G

getAttribute(String) - Method in class de.keepondreaming.xml.ClassProxy
 
getAttribute(String) - Method in interface de.keepondreaming.xml.ClassProxyAccess
Returns the attribute value of the given key.
getContentAttribute(Class, Object) - Method in class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
 
getContentAttribute(Class, Object) - Method in interface de.keepondreaming.xml.AnnotationStrategy
This method is called whenever the XmlConverter wants to set contents read by the ContentHandler.characters(char[], int, int)-method.
getContentAttribute(Class, Object) - Method in class de.keepondreaming.xml.MappingAnnotationStrategy
 
getDateFormatPattern(Method) - Method in class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
 
getDateFormatPattern(Method) - Method in interface de.keepondreaming.xml.AnnotationStrategy
This method is called whenever the XmlConverter reads a String for a method returning a Date or one of its subclasses.
getDateFormatPattern(Method) - Method in class de.keepondreaming.xml.MappingAnnotationStrategy
 
getDateString(Method, String) - Method in class de.keepondreaming.xml.DateHandler
Creates a Date, java.sql.Date or java.sql.Timestamp object based upon the value
getGenericReturnType(Method) - Method in class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
 
getGenericReturnType(Method) - Method in interface de.keepondreaming.xml.AnnotationStrategy
This method is called whenever the XmlConverter wants to set the contents of a Collection- or Map-return type.
getGenericReturnType(Method) - Method in class de.keepondreaming.xml.MappingAnnotationStrategy
 
getKeyAttribute(Method) - Method in class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
 
getKeyAttribute(Method) - Method in interface de.keepondreaming.xml.AnnotationStrategy
Called by the XmlConverter if an entry has to be set in a Map.
getKeyAttribute(Method) - Method in class de.keepondreaming.xml.MappingAnnotationStrategy
 
getMethodName(Class, String, boolean) - Method in class de.keepondreaming.xml.ClassNameMappingObjectStrategy
 
getMethodName(Class, String, boolean) - Method in interface de.keepondreaming.xml.ObjectStrategy
Returns the get/set method name for an attribute read by the parser
getMethodName(Class, String, boolean) - Method in class de.keepondreaming.xml.ProxyObjectStrategy
 
getPrimitiveObject(Class, String) - Static method in class de.keepondreaming.xml.util.Util
Returns a new Object of the concurrent primitive type passed by primitive and initializes it with value
getWrappedClass(Object) - Method in class de.keepondreaming.xml.ClassProxy
 
getWrappedClass(Object) - Method in interface de.keepondreaming.xml.ProxyClassCreator
Returns the target interface of the object, which is an instance created by Proxy

I

init() - Method in class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
 
init() - Method in interface de.keepondreaming.xml.AnnotationStrategy
Restore initial state
init() - Method in class de.keepondreaming.xml.ClassNameMappingObjectStrategy
 
init() - Method in class de.keepondreaming.xml.MappingAnnotationStrategy
 
init() - Method in interface de.keepondreaming.xml.ObjectStrategy
Restore initial state
init() - Method in class de.keepondreaming.xml.ProxyObjectStrategy
 
invoke(Object, Method, Object[]) - Method in class de.keepondreaming.xml.ClassProxy
 

J

JavaAnnotationsStrategy - Class in de.keepondreaming.xml.annotations
Resolves annotations needed by the XmlConverter by using the Annotation mechanism, introduced with Java 1.5, eg.
JavaAnnotationsStrategy() - Constructor for class de.keepondreaming.xml.annotations.JavaAnnotationsStrategy
Default constructor

M

MappingAnnotationStrategy - Class in de.keepondreaming.xml
Obtains informations unavailable at runtime via a configuration object Property mappings are as follows: Set date pattern: <Interface-name>.annotation.
MappingAnnotationStrategy(Properties) - Constructor for class de.keepondreaming.xml.MappingAnnotationStrategy
Default constructor

O

ObjectStrategy - Interface in de.keepondreaming.xml
Strategy pattern to create instances needed by XmlConverter $Author: wintermond $ $Date: 2005/07/10 18:40:13 $ $Log: ObjectStrategy.java,v $ Revision 1.3 2005/07/10 18:40:13 wintermond javadoc init() Revision 1.2 2005/07/09 09:56:51 wintermond javadoc

P

parse(InputSource, Class) - Method in class de.keepondreaming.xml.XmlConverter
Reads the xml from the stream and sets the data structures accordingly using reflection.
ProxyClassCreator - Interface in de.keepondreaming.xml
If an instance of ObjectStrategy creates objects via Proxy this class returns the target interface.
ProxyObjectStrategy - Class in de.keepondreaming.xml
This strategy is based upon dynamic proxies.
ProxyObjectStrategy() - Constructor for class de.keepondreaming.xml.ProxyObjectStrategy
Default constructor

R

resolveInterface(Object) - Method in class de.keepondreaming.xml.ClassNameMappingObjectStrategy
 
resolveInterface(Object) - Method in interface de.keepondreaming.xml.ObjectStrategy
Determines the interfaces this object was created upon.
resolveInterface(Object) - Method in class de.keepondreaming.xml.ProxyObjectStrategy
 
ReturnTypeAnnotation - Annotation Type in de.keepondreaming.xml.annotations
Used when the XmlConverter needs to know the type of the elements to store in a Collection or Map instance $Author: wintermond $ $Date: 2005/07/10 18:34:30 $ $Log: ReturnTypeAnnotation.java,v $ Revision 1.2 2005/07/10 18:34:30 wintermond javadoc

S

setAttribute(Object, String, Object) - Method in class de.keepondreaming.xml.ClassNameMappingObjectStrategy
 
setAttribute(String, Object) - Method in class de.keepondreaming.xml.ClassProxy
 
setAttribute(String, Object) - Method in interface de.keepondreaming.xml.ClassProxyAccess
Sets the attribute with the given key
setAttribute(Object, String, Object) - Method in interface de.keepondreaming.xml.ObjectStrategy
Sets the attribute on an instance returned via ObjectStrategy.createInstance(Class) target and attribute are guaranteed to be not null.
setAttribute(Object, String, Object) - Method in class de.keepondreaming.xml.ProxyObjectStrategy
 
SetKeyAttribute - Annotation Type in de.keepondreaming.xml.annotations
Used by XmlConverter if values are to be set within a Map.
startElement(String, String, String, Attributes) - Method in class de.keepondreaming.xml.XmlConverter
 

U

Util - Class in de.keepondreaming.xml.util
Various helper methods $Author: wintermond $ $Date: 2005/07/10 18:32:11 $ $Log: Util.java,v $ Revision 1.4 2005/07/10 18:32:11 wintermond Revamp to improve performance, most operations could benefit from the use of HashMaps Revision 1.3 2005/07/09 14:11:16 wintermond Changed method signatur of createObject - switched parameter ordering Revision 1.2 2005/07/09 10:02:19 wintermond Received some generic methods from the other classes, concerning reflection based topics
Util() - Constructor for class de.keepondreaming.xml.util.Util
 

X

XmlConverter - Class in de.keepondreaming.xml
Reads an xml file and sets the data using the passed strategy patterns $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ $Log: XmlConverter.java,v $ $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Revision 1.1 2005/07/10 18:37:00 wintermond $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Renamed Parser to XMLConverter $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Major performance improvements $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Support for java.util.Date, java.sql.Date and java.sql.TimeStamp as return types $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Support for attributes modelled as sub tags $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Support for method getters/setter with names different from the xml names $Author: wintermond $ $Date: 2005/07/10 18:37:00 $ Revision 1.4 2005/07/09 14:11:54 wintermond Introduced ability to handle subtags that contain simple values Revision 1.3 2005/07/09 09:57:58 wintermond Javadoc, moved some methods to Util class
XmlConverter(AnnotationStrategy, ObjectStrategy) - Constructor for class de.keepondreaming.xml.XmlConverter
Default constructor

A C D E G I J M O P R S U X

Copyright © -2005 . All Rights Reserved.