|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.dlib.metsnav.dao.NavigatorDAO
edu.indiana.dlib.metsnav.dao.PersistentMets1_4FileDAO
public class PersistentMets1_4FileDAO
This DAO construts a MetsNavObject
from a mets file and keeps
the data inside the dao
Field Summary | |
---|---|
protected String |
currentDivision
Comment for currentDivision |
protected FileSystemDataSource |
dsConfig
Comment for dsConfig |
protected NavigationObject |
navObj
Comment for navObj |
Constructor Summary | |
---|---|
PersistentMets1_4FileDAO()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the DAO. |
NavigationObject |
getNavigateObject(String oid)
Returns a navigateobject |
protected String |
getPageId(Div pageDiv)
Returns the id of this page |
PageItem |
getPageItem(String oid,
String pid)
Returns a single page item |
void |
init(DataSourceConfig dsConfig)
Initialize the DAO and set configuration parameters |
protected Object |
parseDiv(String oid,
Div div,
Division parent)
parses a div in the logical structmap. |
protected PageItem |
parsePage(Div pageDiv)
Parses a div of type page |
protected ArrayList |
parsePhysicalStructMap(Div div)
Parses physical structmap |
protected void |
setDivisionStart(Division division)
|
protected Mets |
unmarshallMets(String oid)
This method unmarshall mets document into a Mets object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String currentDivision
currentDivision
protected NavigationObject navObj
navObj
protected FileSystemDataSource dsConfig
dsConfig
Constructor Detail |
---|
public PersistentMets1_4FileDAO()
Method Detail |
---|
public void init(DataSourceConfig dsConfig) throws DAOException
NavigatorDAO
init
in class NavigatorDAO
DAOException
public void destroy() throws DAOException
NavigatorDAO
destroy
in class NavigatorDAO
DAOException
public NavigationObject getNavigateObject(String oid) throws DAOException
NavigatorDAO
getNavigateObject
in class NavigatorDAO
DAOException
protected String getPageId(Div pageDiv)
pageDiv
-
public PageItem getPageItem(String oid, String pid) throws DAOException
NavigatorDAO
getPageItem
in class NavigatorDAO
DAOException
protected Object parseDiv(String oid, Div div, Division parent) throws DAOException
div
- parent
-
DAOException
protected PageItem parsePage(Div pageDiv) throws DAOException
pageDiv
-
DAOException
protected ArrayList parsePhysicalStructMap(Div div) throws DAOException
div
-
DAOException
protected void setDivisionStart(Division division)
protected Mets unmarshallMets(String oid) throws Exception
oid
-
Mets
object
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |