|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.root.castor.Repository
public class Repository
A repository for XML marshalling/unmarshalling.
| Constructor Summary | |
|---|---|
Repository(URL config,
File repo)
Constructs a new repository. |
|
Repository(URL config,
File repo,
int c)
Constructs a new repository with initial capacity |
|
Repository(URL config,
File repo,
int c,
int rl)
Constructs a new repository with initial capacity and a record length. |
|
| Method Summary | |
|---|---|
void |
closeRepository()
Closes the repository. |
boolean |
equals(Object obj)
|
org.exolab.castor.mapping.Mapping |
getMapping()
Gets the XML mapping. |
RecordAccessFile |
getRepository()
Gets the repository file. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Repository(URL config,
File repo)
config - the configuration URL.repo - the repository file.
public Repository(URL config,
File repo,
int c)
config - the configuration URL.repo - the repository file.c - the capacity.
public Repository(URL config,
File repo,
int c,
int rl)
config - the configuration URL.repo - the repository file.c - the capacity.rl - the record length.| Method Detail |
|---|
public org.exolab.castor.mapping.Mapping getMapping()
throws IOException,
ConstructionException
IOException - on I/O errors.
ConstructionException - on parsing errors.
public RecordAccessFile getRepository()
throws IOException
IOException - on errors.public void closeRepository()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||