Class CswsConnector.MetadataDescription
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.csws.CswsConnector.MetadataDescription
-
- Enclosing class:
- CswsConnector
protected class CswsConnector.MetadataDescription extends java.lang.ObjectClass that manages to find catid's and attribute names that have been specified. This accepts a part of the version string which contains the string-ified metadata spec, rather than pulling it out of the document specification. That guarantees that the version string actually corresponds to the document that was ingested.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,CswsConnector.MetadataPathItem>categoryMapprotected CswsConnector.CswsContextllc
-
Constructor Summary
Constructors Constructor Description MetadataDescription(CswsConnector.CswsContext llc)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<CswsConnector.MetadataItem>getItems(java.lang.String[] metadataItems)Iterate over the metadata items represented by the specified chunk of version string.
-
-
-
Field Detail
-
llc
protected final CswsConnector.CswsContext llc
-
categoryMap
protected final java.util.Map<java.lang.String,CswsConnector.MetadataPathItem> categoryMap
-
-
Constructor Detail
-
MetadataDescription
public MetadataDescription(CswsConnector.CswsContext llc)
Constructor.
-
-
Method Detail
-
getItems
public java.util.Iterator<CswsConnector.MetadataItem> getItems(java.lang.String[] metadataItems) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption
Iterate over the metadata items represented by the specified chunk of version string.- Returns:
- an iterator over MetadataItem objects.
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
-