org.arch4j.persistence.castor
Class ObjectManager
java.lang.Object
|
+--org.arch4j.persistence.castor.ObjectManager
- public class ObjectManager
- extends Object
- Author:
- Allan Wick
Constructor Summary |
ObjectManager()
Creates a new instance of Object Manager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAPPING_FILENAME
protected static final String DEFAULT_MAPPING_FILENAME
- See Also:
- Constant Field Values
persistenceManager
protected PersistenceManager persistenceManager
ObjectManager
public ObjectManager()
- Creates a new instance of Object Manager
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)
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.