|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qedeq.kernel.xml.dao.XmlQedeqFileDao
public class XmlQedeqFileDao
This class provides access methods for loading QEDEQ modules from XML files.
| Constructor Summary | |
|---|---|
XmlQedeqFileDao()
Constructor. |
|
| Method Summary | |
|---|---|
SourceArea |
createSourceArea(Qedeq qedeq,
ModuleContext context)
Get area in source file for QEDEQ module context. |
java.io.Reader |
getModuleReader(KernelQedeqBo bo)
Get reader for local buffered QEDEQ module. |
java.lang.String |
getServiceAction()
Get service action name. |
java.lang.String |
getServiceDescription()
Get service description. |
java.lang.String |
getServiceId()
Get service id. |
InternalKernelServices |
getServices()
Get kernel services. |
Qedeq |
loadQedeq(InternalServiceJob process,
QedeqBo prop,
java.io.File file)
Load a QEDEQ module from file. |
void |
saveQedeq(InternalServiceJob process,
KernelQedeqBo prop,
java.io.File localFile)
Save a QEDEQ module as file. |
void |
setServices(InternalKernelServices services)
Set kernel services. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlQedeqFileDao()
| Method Detail |
|---|
public void setServices(InternalKernelServices services)
QedeqFileDao
setServices in interface QedeqFileDaoservices - Internal kernel services.public InternalKernelServices getServices()
QedeqFileDao
getServices in interface QedeqFileDao
public Qedeq loadQedeq(InternalServiceJob process,
QedeqBo prop,
java.io.File file)
throws SourceFileExceptionList
QedeqFileDao
loadQedeq in interface QedeqFileDaoprocess - We work for this service process.prop - Module properties.file - Load file from this location.
SourceFileExceptionList - Module could not be successfully loaded.
public void saveQedeq(InternalServiceJob process,
KernelQedeqBo prop,
java.io.File localFile)
throws SourceFileExceptionList,
java.io.IOException
QedeqFileDao
saveQedeq in interface QedeqFileDaoprocess - We work in this service process.prop - Module properties.localFile - Save module in this file.
SourceFileExceptionList - Module could not be successfully saved.
java.io.IOException - File saving failed.
public SourceArea createSourceArea(Qedeq qedeq,
ModuleContext context)
QedeqFileDao
createSourceArea in interface QedeqFileDaoqedeq - Look at this QEDEQ module.context - Search for this context.
null.
public java.io.Reader getModuleReader(KernelQedeqBo bo)
throws java.io.IOException
QedeqFileDao
getModuleReader in interface QedeqFileDaobo - QEDEQ BO.
java.io.IOException - Reading failed.public java.lang.String getServiceId()
Service
getServiceId in interface Servicepublic java.lang.String getServiceAction()
Service
getServiceAction in interface Servicepublic java.lang.String getServiceDescription()
Service
getServiceDescription in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||