Package org.dspace.content.crosswalk
Interface ParameterizedDisseminationCrosswalk
-
- All Superinterfaces:
DisseminationCrosswalk
- All Known Implementing Classes:
XSLTDisseminationCrosswalk
public interface ParameterizedDisseminationCrosswalk extends DisseminationCrosswalk
Translate DSpace native metadata into an external XML format, with parameters. This extendsDisseminationCrosswalkby accepting a table of XSL-T global parameter names and values, which will be passed to the selected transform.- Author:
- mhwood
-
-
Field Summary
-
Fields inherited from interface org.dspace.content.crosswalk.DisseminationCrosswalk
XSI_NS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jdom.ElementdisseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters)Execute crosswalk, returning one XML root element as a JDOMElementobject.-
Methods inherited from interface org.dspace.content.crosswalk.DisseminationCrosswalk
canDisseminate, disseminateElement, disseminateList, getNamespaces, getSchemaLocation, preferList
-
-
-
-
Method Detail
-
disseminateElement
org.jdom.Element disseminateElement(Context context, DSpaceObject dso, Map<String,String> parameters) throws CrosswalkException, IOException, SQLException, AuthorizeException
Execute crosswalk, returning one XML root element as a JDOMElementobject. This is typically the root element of a document.- Parameters:
context- The relevant DSpace Context.dso- the DSpace Object whose metadata to export.parameters- names and values of parameters to be passed into the transform.- Returns:
- root Element of the target metadata, never
null. - Throws:
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.CrosswalkException
-
-