public class XSLTDisseminationCrosswalk extends XSLTCrosswalk implements DisseminationCrosswalk
See the XSLTCrosswalk superclass for details on configuration.
crosswalk.dissemination.PluginName.namespace.Prefix = namespace-URI crosswalk.dissemination.PluginName.schemaLocation = schemaLocation value crosswalk.dissemination.PluginName.preferList = boolean (default is false)For example:
crosswalk.dissemination.qdc.namespace.dc = http://purl.org/dc/elements/1.1/
crosswalk.dissemination.qdc.namespace.dcterms = http://purl.org/dc/terms/
crosswalk.dissemination.qdc.schemaLocation = \
http://purl.org/dc/elements/1.1/ http://dublincore.org/schemas/xmls/qdc/2003/04/02/qualifieddc.xsd
crosswalk.dissemination.qdc.preferList = true
XSLTCrosswalkCONFIG_PREFIX, DIM_NSXSI_NS| Constructor and Description |
|---|
XSLTDisseminationCrosswalk() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDisseminate(DSpaceObject dso)
Determine is this crosswalk can dessiminate the given object.
|
static org.jdom.Element |
createDIM(DSpaceObject dso)
Generate an intermediate representation of a DSpace object.
|
static org.jdom.Element |
createDIM(DSpaceObject dso,
Metadatum[] dcvs)
Generate an intermediate representation of a DSpace object.
|
org.jdom.Element |
disseminateElement(DSpaceObject dso)
Disseminate the DSpace item, collection, or community.
|
List<org.jdom.Element> |
disseminateList(DSpaceObject dso)
Disseminate the DSpace item, collection, or community.
|
org.jdom.Namespace[] |
getNamespaces()
Return the namespace used by this crosswalk.
|
static String[] |
getPluginNames() |
String |
getSchemaLocation()
Return the schema location used by this crosswalk.
|
static void |
main(String[] argv)
Simple command-line rig for testing the DIM output of a stylesheet.
|
boolean |
preferList()
return true if this crosswalk prefers the list form over an single
element, otherwise false.
|
getTransformer, makeAliasesgetPluginInstanceName, setPluginInstanceNamepublic static String[] getPluginNames()
public org.jdom.Namespace[] getNamespaces()
getNamespaces in interface DisseminationCrosswalkDisseminationCrosswalkpublic String getSchemaLocation()
getSchemaLocation in interface DisseminationCrosswalkDisseminationCrosswalkpublic org.jdom.Element disseminateElement(DSpaceObject dso) throws CrosswalkException, IOException, SQLException, AuthorizeException
disseminateElement in interface DisseminationCrosswalkdso - the DSpace Object whose metadata to export.nullCrosswalkInternalException - (CrosswalkException) failure of the crosswalk itself.CrosswalkObjectNotSupported - (CrosswalkException) Cannot crosswalk this kind of DSpace object.IOException - I/O failure in services this callsSQLException - Database failure in services this callsAuthorizeException - current user not authorized for this operation.CrosswalkExceptionDisseminationCrosswalkpublic List<org.jdom.Element> disseminateList(DSpaceObject dso) throws CrosswalkException, IOException, SQLException, AuthorizeException
disseminateList in interface DisseminationCrosswalkdso - the DSpace Object whose metadata to export.CrosswalkInternalException - (CrosswalkException) failure of the crosswalk itself.CrosswalkObjectNotSupported - (CrosswalkException) Cannot crosswalk this kind of DSpace object.IOException - I/O failure in services this callsSQLException - Database failure in services this callsAuthorizeException - current user not authorized for this operation.CrosswalkExceptionDisseminationCrosswalkpublic boolean canDisseminate(DSpaceObject dso)
canDisseminate in interface DisseminationCrosswalkdso - dspace object, e.g. an Item.DisseminationCrosswalkpublic boolean preferList()
preferList in interface DisseminationCrosswalkDisseminationCrosswalkpublic static org.jdom.Element createDIM(DSpaceObject dso, Metadatum[] dcvs)
dso - The dspace object to build a representation of.public static org.jdom.Element createDIM(DSpaceObject dso)
dso - The dspace object to build a representation of.Copyright © 2014 DuraSpace. All Rights Reserved.