public class RepositoryAdapter extends AbstractAdapter
| Modifier and Type | Field and Description |
|---|---|
static Namespace |
MODS |
static java.lang.String |
MODS_URI
MODS namespace
|
contentHandler, contextPath, DIM, DIM_URI, lexicalHandler, METS, METS_DEFINED_TYPES, METS_URI, namespaces, XLINK, XLINK_URI, XSI, XSI_URI| Constructor and Description |
|---|
RepositoryAdapter(Context context,
java.lang.String contextPath)
Construct a new RepositoryAdapter
|
| Modifier and Type | Method and Description |
|---|---|
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 to...
|
protected void |
renderDescriptiveSection()
Render the repository's descriptive metadata section.
|
protected void |
renderStructureMap()
Render the repository's structure map.
|
endElement, getDisseminationCrosswalk, getGenericID, isDefinedMETStype, renderAdministrativeSection, renderBehavioralSection, renderExtraSections, renderFile, renderFile, renderFileSection, renderHeader, renderMETS, renderStructuralLink, sendCharacters, setAmdTypes, setDigiProvMDTypes, setDmdTypes, setFileGrpTypes, setRightsMDTypes, setSections, setSourceMDTypes, setStructTypes, setTechMDTypes, startElementpublic static final java.lang.String MODS_URI
public static final Namespace MODS
public RepositoryAdapter(Context context, java.lang.String contextPath)
context - The DSpace context to look up communities / collections.contextPath - The contextPath of this webapplication.protected java.lang.String getMETSID()
getMETSID in class AbstractAdapterprotected 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 AbstractAdapterprotected void renderDescriptiveSection()
throws org.xml.sax.SAXException
renderDescriptiveSection in class AbstractAdapterorg.xml.sax.SAXExceptionprotected void renderStructureMap()
throws java.sql.SQLException,
org.xml.sax.SAXException
renderStructureMap in class AbstractAdapterjava.sql.SQLExceptionorg.xml.sax.SAXExceptionCopyright © 2014 DuraSpace. All Rights Reserved.