@Component
@Scope(value="prototype")
@Path(value="/{path: .*}/oai:dc")
public class DublinCoreGenerator
extends org.fcrepo.http.commons.AbstractResource
| Modifier and Type | Field and Description |
|---|---|
protected javax.jcr.Session |
session |
| Constructor and Description |
|---|
DublinCoreGenerator() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getObjectAsDublinCore(List<javax.ws.rs.core.PathSegment> pathList)
Get Dublin Core XML for a node
|
@GET
@Produces(value="text/xml")
public javax.ws.rs.core.Response getObjectAsDublinCore(@PathParam(value="path")
List<javax.ws.rs.core.PathSegment> pathList)
throws javax.jcr.RepositoryException
pathList - javax.jcr.RepositoryExceptionCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.