Arch4J 1.1

org.arch4j.persistence.castor
Class ObjectManager

java.lang.Object
  |
  +--org.arch4j.persistence.castor.ObjectManager

public class ObjectManager
extends Object

Author:
Allan Wick

Field Summary
protected static String DEFAULT_MAPPING_FILENAME
           
protected  PersistenceManager persistenceManager
           
 
Constructor Summary
ObjectManager()
          Creates a new instance of Object Manager
 
Method Summary
 StringBuffer buildXml(Object anObject)
          Create the xml string for the given object.
 String getMappingFilename()
          Get the filename used for mapping objects.
 Object parse(Reader aReader, Class aClass)
           
 void setMappingFilename(String aFilename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAPPING_FILENAME

protected static final String DEFAULT_MAPPING_FILENAME
See Also:
Constant Field Values

persistenceManager

protected PersistenceManager persistenceManager
Constructor Detail

ObjectManager

public ObjectManager()
Creates a new instance of Object Manager

Method Detail

getMappingFilename

public String getMappingFilename()
Get the filename used for mapping objects.


setMappingFilename

public void setMappingFilename(String aFilename)

buildXml

public StringBuffer buildXml(Object anObject)
                      throws PersistenceException
Create the xml string for the given object.

Parameters:
anObject - The object to build the xml for.
Returns:
The buffer with the xml in it.
PersistenceException

parse

public Object parse(Reader aReader,
                    Class aClass)

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.