|
||||||||||
| 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 java.lang.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,
java.lang.String contextPath)
Construct a new RepositoryAdapter |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getMETSID()
Return the handle prefix as the identifier. |
protected java.lang.String |
getMETSLabel()
Return a friendly label for the METS document stating that this is a DSpace repository. |
protected java.lang.String |
getMETSOBJEDIT()
|
protected java.lang.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 java.lang.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 java.lang.String MODS_URI
public static final Namespace MODS
| Constructor Detail |
|---|
public RepositoryAdapter(Context context,
java.lang.String contextPath)
context - The DSpace context to look up communities / collections.contextPath - The contextPath of this webapplication.| Method Detail |
|---|
protected java.lang.String getMETSID()
getMETSID in class AbstractAdapter
protected java.lang.String getMETSOBJID()
throws WingException
getMETSOBJID in class AbstractAdapterWingExceptionprotected java.lang.String getMETSOBJEDIT()
getMETSOBJEDIT in class AbstractAdapterprotected java.lang.String getMETSProfile()
getMETSProfile in class AbstractAdapterprotected java.lang.String getMETSLabel()
getMETSLabel in class AbstractAdapter
protected void renderDescriptiveSection()
throws org.xml.sax.SAXException
renderDescriptiveSection in class AbstractAdapterorg.xml.sax.SAXException
protected void renderStructureMap()
throws java.sql.SQLException,
org.xml.sax.SAXException
renderStructureMap in class AbstractAdapterjava.sql.SQLException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||