|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectora.core.base.ElementManager
ora.core.xmlAnalyser.XMLElementManager
public class XMLElementManager
| Nested Class Summary | |
|---|---|
class |
XMLElementManager.XMLDocHandler
|
| Field Summary |
|---|
| Fields inherited from class ora.core.base.ElementManager |
|---|
controller |
| Constructor Summary | |
|---|---|
XMLElementManager(java.io.File file)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
getAllElements()
returns complete list of elements |
java.util.HashMap |
getClassesList()
Returns hashmap with class to element mapping (1-N) |
java.lang.String |
getManagerName()
|
java.util.ArrayList |
getRoots()
Get number of roots |
int |
getState()
|
java.lang.String |
getTimeStamp()
|
boolean |
hasController()
|
void |
load(java.io.File file,
PersistenceConfiguration conf)
By default this method tries first to load the binary data, once this fails it will load data from xml. |
void |
miscLoad(java.io.File file,
PersistenceConfiguration conf)
|
void |
registerElementController(ElementController controller)
|
boolean |
reloadable()
If original source object is available you can reload but not from fileload |
void |
reset()
reset lists and others |
void |
save(java.io.File file,
PersistenceConfiguration conf)
Save Referencemodel to file as per type |
void |
unRegisterElementController(ElementController controller)
|
| Methods inherited from class ora.core.base.ElementManager |
|---|
getReloadableData |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ora.core.base.ElementManagerInterface |
|---|
getReloadableData |
| Constructor Detail |
|---|
public XMLElementManager(java.io.File file)
| Method Detail |
|---|
public java.util.ArrayList getAllElements()
ElementManagerInterface
getAllElements in interface ElementManagerInterfacegetAllElements in class ElementManagerpublic java.util.HashMap getClassesList()
ElementManagerInterface
getClassesList in interface ElementManagerInterfacegetClassesList in class ElementManagerpublic java.lang.String getManagerName()
getManagerName in interface ElementManagerInterfacegetManagerName in class ElementManagerpublic java.util.ArrayList getRoots()
ElementManagerInterface
getRoots in interface ElementManagerInterfacegetRoots in class ElementManagerpublic java.lang.String getTimeStamp()
getTimeStamp in interface ElementManagerInterfacegetTimeStamp in class ElementManagerpublic boolean hasController()
hasController in interface ElementManagerInterfacehasController in class ElementManagerpublic int getState()
getState in interface ElementManagerInterfacegetState in class ElementManager
public void miscLoad(java.io.File file,
PersistenceConfiguration conf)
throws java.lang.Exception
java.lang.Exception
public void load(java.io.File file,
PersistenceConfiguration conf)
throws java.lang.Exception
ElementManager
load in interface ElementManagerInterfaceload in class ElementManagerjava.lang.Exception
public void registerElementController(ElementController controller)
throws java.lang.IllegalAccessException
registerElementController in interface ElementManagerInterfaceregisterElementController in class ElementManagerjava.lang.IllegalAccessExceptionpublic boolean reloadable()
ElementManagerInterface
reloadable in interface ElementManagerInterfacereloadable in class ElementManagerpublic void reset()
ElementManagerInterface
reset in interface ElementManagerInterfacereset in class ElementManager
public void save(java.io.File file,
PersistenceConfiguration conf)
throws java.lang.Exception
ElementManagerInterface
save in interface ElementManagerInterfacesave in class ElementManagerjava.lang.Exceptionpublic void unRegisterElementController(ElementController controller)
unRegisterElementController in interface ElementManagerInterfaceunRegisterElementController in class ElementManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||