|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.advjavacalendar.data.xml.XMLDataImpl
public class XMLDataImpl
Stores the Calendar items in an XML File
Field Summary |
---|
Fields inherited from interface net.sf.advjavacalendar.data.Data |
---|
DEFAULT_DATA |
Constructor Summary | |
---|---|
XMLDataImpl()
|
Method Summary | |
---|---|
void |
delete(CalendarItem item)
Removes the given CalendarItem from the data |
java.util.List<CalendarItem> |
find(java.lang.String searchString)
Search inside after the given search String |
java.util.List<CalendarItem> |
getItems()
Returns the elements in this data element |
java.lang.String |
getName()
Returns the name of the Data Element |
void |
init()
Initialize the element |
void |
insert(CalendarItem item)
Inserts the given CalendarItem |
boolean |
isWritable()
Tells the calendar if the returned elements are editable |
void |
start()
Starts the getting of data with this element |
void |
stop()
Stops the process of receiving data with this element |
void |
update(CalendarItem item)
Saves the given CalendarItem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLDataImpl()
Method Detail |
---|
public void delete(CalendarItem item)
Data
delete
in interface Data
Data.delete(net.sf.advjavacalendar.common.CalendarItem)
public java.util.List<CalendarItem> find(java.lang.String searchString)
Data
find
in interface Data
Data.find(java.lang.String)
public java.util.List<CalendarItem> getItems() throws DataException
Data
getItems
in interface Data
DataException
Data.getItems()
public java.lang.String getName()
Data
getName
in interface Data
Data.getName()
public void init() throws DataException
Data
init
in interface Data
DataException
Data.init()
public void insert(CalendarItem item) throws DataException
Data
insert
in interface Data
DataException
Data.insert(net.sf.advjavacalendar.common.CalendarItem)
public boolean isWritable()
Data
isWritable
in interface Data
Data.isWritable()
public void start() throws DataException
Data
start
in interface Data
DataException
Data.start()
public void stop() throws DataException
Data
stop
in interface Data
DataException
Data.stop()
public void update(CalendarItem item) throws DataException
Data
update
in interface Data
DataException
Data.update(net.sf.advjavacalendar.common.CalendarItem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |