|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.objectmanager.AbstractAdapter
org.dspace.app.xmlui.objectmanager.RepositoryAdapter
public class RepositoryAdapter
This is an an adapter which translates a DSpace repository into a METS document. Unfortunately there is no real definition of what this is. So we just kind of made it up based upon what we saw for the item profile. The basic structure is simply two parts, the descriptive metadata and a structural map. The descriptive metadata is a place to put metadata about the whole repository. The structural map is used to map relationships between communities & collections in dspace.
| Field Summary | |
|---|---|
static Namespace |
MODS
|
static String |
MODS_URI
MODS namespace |
| Fields inherited from class org.dspace.app.xmlui.objectmanager.AbstractAdapter |
|---|
contentHandler, contextPath, DIM, DIM_URI, lexicalHandler, METS, METS_DEFINED_TYPES, METS_URI, namespaces, XLINK, XLINK_URI, XSI, XSI_URI |
| Constructor Summary | |
|---|---|
RepositoryAdapter(Context context,
String contextPath)
Construct a new RepositoryAdapter |
|
| Method Summary | |
|---|---|
protected String |
getMETSID()
Return the handle prefix as the identifier. |
protected String |
getMETSLabel()
Return a friendly label for the METS document stating that this is a DSpace repository. |
protected String |
getMETSOBJEDIT()
|
protected String |
getMETSOBJID()
The OBJID is used to encode the URL to the object, in this case the repository which is just at the contextPath. |
protected String |
getMETSProfile()
Return the profile this METS document conforms too... |
protected void |
renderDescriptiveSection()
Render the repository's descriptive metadata section. |
protected void |
renderStructureMap()
Render the repository's structure map. |
| Methods inherited from class org.dspace.app.xmlui.objectmanager.AbstractAdapter |
|---|
endElement, getDisseminationCrosswalk, getGenericID, isDefinedMETStype, renderAdministrativeSection, renderBehavioralSection, renderExtraSections, renderFile, renderFile, renderFileSection, renderHeader, renderMETS, renderStructuralLink, sendCharacters, setAmdTypes, setDigiProvMDTypes, setDmdTypes, setFileGrpTypes, setRightsMDTypes, setSections, setSourceMDTypes, setStructTypes, setTechMDTypes, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MODS_URI
public static final Namespace MODS
| Constructor Detail |
|---|
public RepositoryAdapter(Context context,
String contextPath)
context - The DSpace context to look up communities / collections.contextPath - The contextPath of this webapplication.| Method Detail |
|---|
protected String getMETSID()
getMETSID in class AbstractAdapter
protected String getMETSOBJID()
throws WingException
getMETSOBJID in class AbstractAdapterWingExceptionprotected String getMETSOBJEDIT()
getMETSOBJEDIT in class AbstractAdapterprotected String getMETSProfile()
getMETSProfile in class AbstractAdapterprotected String getMETSLabel()
getMETSLabel in class AbstractAdapter
protected void renderDescriptiveSection()
throws SAXException
renderDescriptiveSection in class AbstractAdapterSAXException
protected void renderStructureMap()
throws SQLException,
SAXException
renderStructureMap in class AbstractAdapterSQLException
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||