public class RepositoryAdapter extends AbstractAdapter
| Modifier and Type | Field and Description |
|---|---|
protected CommunityService |
communityService |
protected HandleService |
handleService |
static Namespace |
MODS |
static 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,
String contextPath)
Construct a new RepositoryAdapter
|
| Modifier and Type | Method and Description |
|---|---|
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 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 String MODS_URI
public static final Namespace MODS
protected CommunityService communityService
protected HandleService handleService
protected String getMETSID()
getMETSID in class AbstractAdapterprotected 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 AbstractAdapterprotected void renderDescriptiveSection()
throws SAXException
renderDescriptiveSection in class AbstractAdapterSAXExceptionprotected void renderStructureMap()
throws SQLException,
SAXException
renderStructureMap in class AbstractAdapterSQLExceptionSAXExceptionCopyright © 2016 DuraSpace. All Rights Reserved.