public class XPathResourceMap extends Object implements ResourceMap
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_ABOUT |
static String |
ATTRIBUTE_RESOURCE |
static String |
NS_CITO |
static String |
NS_DCTERMS |
static String |
NS_RDF |
static String |
TAG_DOCUMENTS |
static String |
TAG_IDENTIFIER |
static String |
TAG_IS_DOCUMENTED_BY |
static String |
XPATH_RESOURCE_MAP_IDENTIFIER |
| Constructor and Description |
|---|
XPathResourceMap(Document doc) |
XPathResourceMap(Document doc,
IndexVisibilityDelegate ivd) |
XPathResourceMap(String objectFilePath) |
XPathResourceMap(String filePath,
IndexVisibilityDelegate ivd) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllDocumentIDs() |
Set<String> |
getContains() |
String |
getIdentifier() |
Set<ResourceEntry> |
getMappedReferences() |
static NamespaceContext |
getNameSpaceContext() |
List<SolrDoc> |
mergeIndexedDocuments(List<SolrDoc> docs) |
static boolean |
representsResourceMap(String formatId) |
String |
toString() |
public static String XPATH_RESOURCE_MAP_IDENTIFIER
public static final String NS_DCTERMS
public static final String NS_CITO
public static final String NS_RDF
public static final String ATTRIBUTE_ABOUT
public static final String ATTRIBUTE_RESOURCE
public static final String TAG_DOCUMENTS
public static final String TAG_IDENTIFIER
public static final String TAG_IS_DOCUMENTED_BY
public XPathResourceMap(Document doc) throws org.dspace.foresite.OREParserException
org.dspace.foresite.OREParserExceptionpublic XPathResourceMap(Document doc, IndexVisibilityDelegate ivd) throws org.dspace.foresite.OREParserException
org.dspace.foresite.OREParserExceptionpublic XPathResourceMap(String objectFilePath) throws org.dspace.foresite.OREParserException
org.dspace.foresite.OREParserExceptionpublic XPathResourceMap(String filePath, IndexVisibilityDelegate ivd) throws org.dspace.foresite.OREParserException
org.dspace.foresite.OREParserExceptionpublic Set<ResourceEntry> getMappedReferences()
getMappedReferences in interface ResourceMappublic Set<String> getContains()
getContains in interface ResourceMappublic static NamespaceContext getNameSpaceContext()
public List<String> getAllDocumentIDs()
getAllDocumentIDs in interface ResourceMappublic List<SolrDoc> mergeIndexedDocuments(List<SolrDoc> docs)
mergeIndexedDocuments in interface ResourceMappublic String getIdentifier()
getIdentifier in interface ResourceMappublic static boolean representsResourceMap(String formatId)
Copyright © 2022. All rights reserved.