org.dspace.content.crosswalk

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » dspace » org.dspace.content.crosswalk 
org.dspace.content.crosswalk

Provides an API and implementations of metadata crosswalks, which are directional mappings from one schema to another, performed in the context of Item ingestion or dissemination. Most crosswalks are driven by a mapping in a file, which reside in config/crosswalks.

Crosswalk Interfaces

The principle interfaces are for ingest and dissemination contexts, i.e. the IngestionCrosswalk interface consists of the methods:

public void ingest(Context context, DSpaceObject dso, List metadata)
public void ingest(Context context, DSpaceObject dso, Element root)

The DisseminationCrosswalk interface has methods:

public Namespace[] getNamespaces()
public String getSchemaLocation()
public boolean canDisseminate(DSpaceObject dso)
public List disseminateList(DSpaceObject dso)
public Element disseminateElement(DSpaceObject dso)

Crosswalk Implementations

Crosswalks exist for many formats, includings DC, QDC, METs, MODs, Premis, and a general implementation employing an XSLT stylesheet.

Java Source File NameTypeComment
CrosswalkException.javaClass Superclass for more-specific crosswalk exceptions.
CrosswalkInternalException.javaClass Something went wrong inside the crosswalk, not necessarily caused by the input or state (although it could be an incorrectly handled pathological case).
CrosswalkObjectNotSupported.javaClass Something went wrong inside the crosswalk, not necessarily caused by the input or state (although it could be an incorrectly handled pathological case).
DisseminationCrosswalk.javaInterface Dissemination Crosswalk plugin -- translate DSpace native metadata into an external XML format.

This interface describes a plugin that produces metadata in an XML-based format from the state of a DSpace object.

IngestionCrosswalk.javaInterface Ingestion Crosswalk plugin -- translate an external metadata format into DSpace native metadata.

This describes a plugin that translates an external XML metadata format (e.g.

MetadataValidationException.javaClass This indicates a problem with the input metadata (for submission) or item state (dissemination).
METSDisseminationCrosswalk.javaClass METS dissemination crosswalk

Produces a METS manifest for the DSpace item as a metadata description -- intended to work within an application like the OAI server.

MODSDisseminationCrosswalk.javaClass Configurable MODS Crosswalk

This class supports multiple dissemination crosswalks from DSpace internal data to the MODS XML format (see http://www.loc.gov/standards/mods/.)

It registers multiple Plugin names, which it reads from the DSpace configuration as follows:

Configuration

Every key starting with "crosswalk.mods.properties." describes a MODS crosswalk.
NullIngestionCrosswalk.javaClass "Null" ingestion crosswalk

Use this crosswalk to ignore a metadata record on ingest.

PREMISCrosswalk.javaClass PREMIS Crosswalk

Translate between DSpace Bitstream properties and PREMIS metadata format (see http://www.oclc.org/research/projects/pmwg/ for details).

QDCCrosswalk.javaClass Configurable QDC Crosswalk

This class supports multiple dissemination crosswalks from DSpace internal data to the Qualified Dublin Core XML format (see http://dublincore.org/

It registers multiple Plugin names, which it reads from the DSpace configuration as follows:

Configuration

Every key starting with "crosswalk.qdc.properties." describes a QDC crosswalk.
SimpleDCDisseminationCrosswalk.javaClass Disseminator for Simple Dublin Core metadata in XML format. Logic stolen from OAIDCCrosswalk.
StreamDisseminationCrosswalk.javaInterface A class implementing this interface crosswalk metadata directly from a DSpace Object to an output stream, in a specific format.
StreamIngestionCrosswalk.javaInterface A class implementing this interface can crosswalk metadata directly from a stream (assumed to be in a specific format) to the object.
XHTMLHeadDisseminationCrosswalk.javaClass Crosswalk for creating appropriate <meta> elements to appear in the item display page for a particular item, for improving automated processing of the page (e.g.
XSLTCrosswalk.javaClass Configurable XSLT-driven Crosswalk

This is the superclass of the XSLT dissemination and submission crosswalks. These classes let you can create many different crosswalks between DSpace internal data and any XML without changing any code, just XSL transformation (XSLT) stylesheets. Each configured stylesheet appears as a new plugin name, although they all share the same plugin implementation class.

The XML transformation must produce (for submission) or expect (for dissemination) a document in DIM - DSpace Intermediate Metadata format. See http://wiki.dspace.org/DspaceIntermediateMetadata for details.

Configuration

Prepare your DSpace configuration as follows:

A submission crosswalk is described by a configuration key like

  crosswalk.submission.PluginName.stylesheet = path
The alias names the Plugin name, and the path value is the pathname (relative to dspace.dir/config) of the crosswalk stylesheet, e.g.
XSLTDisseminationCrosswalk.javaClass Configurable XSLT-driven dissemination Crosswalk

See the XSLTCrosswalk superclass for details on configuration.

Additional Configuration of Dissemination crosswalk:

The disseminator also needs to be configured with an XML Namespace (including prefix and URI) and an XML Schema for output format.
XSLTIngestionCrosswalk.javaClass Configurable XSLT-driven ingestion Crosswalk

See the XSLTCrosswalk superclass for details on configuration.

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.