|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 DataData.delete(net.sf.advjavacalendar.common.CalendarItem)public java.util.List<CalendarItem> find(java.lang.String searchString)
Data
find in interface DataData.find(java.lang.String)
public java.util.List<CalendarItem> getItems()
throws DataException
Data
getItems in interface DataDataExceptionData.getItems()public java.lang.String getName()
Data
getName in interface DataData.getName()
public void init()
throws DataException
Data
init in interface DataDataExceptionData.init()
public void insert(CalendarItem item)
throws DataException
Data
insert in interface DataDataExceptionData.insert(net.sf.advjavacalendar.common.CalendarItem)public boolean isWritable()
Data
isWritable in interface DataData.isWritable()
public void start()
throws DataException
Data
start in interface DataDataExceptionData.start()
public void stop()
throws DataException
Data
stop in interface DataDataExceptionData.stop()
public void update(CalendarItem item)
throws DataException
Data
update in interface DataDataExceptionData.update(net.sf.advjavacalendar.common.CalendarItem)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||