|
||||||||||
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 ElementManagerInterface
getAllElements
in class ElementManager
public java.util.HashMap getClassesList()
ElementManagerInterface
getClassesList
in interface ElementManagerInterface
getClassesList
in class ElementManager
public java.lang.String getManagerName()
getManagerName
in interface ElementManagerInterface
getManagerName
in class ElementManager
public java.util.ArrayList getRoots()
ElementManagerInterface
getRoots
in interface ElementManagerInterface
getRoots
in class ElementManager
public java.lang.String getTimeStamp()
getTimeStamp
in interface ElementManagerInterface
getTimeStamp
in class ElementManager
public boolean hasController()
hasController
in interface ElementManagerInterface
hasController
in class ElementManager
public int getState()
getState
in interface ElementManagerInterface
getState
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 ElementManagerInterface
load
in class ElementManager
java.lang.Exception
public void registerElementController(ElementController controller) throws java.lang.IllegalAccessException
registerElementController
in interface ElementManagerInterface
registerElementController
in class ElementManager
java.lang.IllegalAccessException
public boolean reloadable()
ElementManagerInterface
reloadable
in interface ElementManagerInterface
reloadable
in class ElementManager
public void reset()
ElementManagerInterface
reset
in interface ElementManagerInterface
reset
in class ElementManager
public void save(java.io.File file, PersistenceConfiguration conf) throws java.lang.Exception
ElementManagerInterface
save
in interface ElementManagerInterface
save
in class ElementManager
java.lang.Exception
public void unRegisterElementController(ElementController controller)
unRegisterElementController
in interface ElementManagerInterface
unRegisterElementController
in class ElementManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |