Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck.pc.mylib » [javadoc | source]
org.apache.jdo.tck.pc.mylib
public class: MylibReader [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.xml.XmlBeanFactory
      org.apache.jdo.tck.pc.mylib.MylibReader
Utility class to create a mylib instances from an xml representation.
Field Summary
public static final  String DATE_PATTERN    The format of date values in the xml representation 
public static final  String ROOT_LIST_NAME    The name of the root list bean. 
Constructor:
 public MylibReader(String resourceName) 
    Create a MylibReader for the specified resourceName.
    Parameters:
    resourceName - the name of the resource
 public MylibReader(InputStream stream) 
    Create a MylibReader for the specified InputStream.
    Parameters:
    stream - the input stream
 public MylibReader(String resourceName,
    ClassLoader classLoader) 
    Create a MylibReader for the specified resourceName.
    Parameters:
    resourceName - the name of the resource
Method from org.apache.jdo.tck.pc.mylib.MylibReader Summary:
getPrimitiveTypes,   getRootList,   getTearDownClasses
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.pc.mylib.MylibReader Detail:
 public PrimitiveTypes getPrimitiveTypes(String name) 
    Convenience method returning an Address instance for the specified name. The method returns null if there is no Address bean with the specified name.
 public List getRootList() 
    Returns a list of root objects. The method expects to find a bean called "root" of type list in the xml and returns it.
 public static Class[] getTearDownClasses()