xtas
Class Resource
java.lang.Object
|
+--xtas.Resource
- Direct Known Subclasses:
- LocalFile, ServletResource, XmldbResource
- public abstract class Resource
- extends java.lang.Object
Abstract class encapsulated Persistence storage for the XML data
- Version:
- $Id: Resource.java,v 1.5 2003/04/17 14:15:13 geaz Exp $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Resource
public Resource()
load
public abstract WellFormedUniFormTree load()
throws UniFormTransformationException,
java.io.IOException
- Loads XML from some resource
save
public abstract void save(WellFormedUniFormTree tree)
throws UniFormTransformationException,
java.io.IOException
- Stores XML into some resource
create
public abstract void create(WellFormedUniFormTree initTree)
throws java.io.IOException
- Creates resource
drop
public abstract void drop()
throws java.io.IOException
- drops resource
setContext
public abstract void setContext(java.lang.Object context)
- Initializes Resource's context (if any)