|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.cataloggen.StandardCatalogBuilder
public class StandardCatalogBuilder
_more_
Constructor Summary | |
---|---|
StandardCatalogBuilder(String collectionPath,
String collectionName,
CrawlableDataset collectionCrDs,
CrawlableDatasetFilter filter,
InvService service,
String collectionId,
CrawlableDatasetLabeler identifier,
CrawlableDatasetLabeler namer,
boolean doAddDatasetSize,
CrawlableDatasetSorter sorter,
Map proxyDatasetHandlers,
List childEnhancerList,
InvDatasetImpl topLevelMetadataContainer,
CatalogRefExpander catalogRefExpander)
|
Method Summary | |
---|---|
InvCatalogImpl |
generateCatalog(CrawlableDataset catalogCrDs)
Return an InvCatalog for the level in the collection hierarchy specified by catalogPath. |
org.jdom.Document |
generateCatalogAsDocument(CrawlableDataset catalogCrDs)
Return a JDOM Document representation of the catalog for the level in the collection hierarchy specified by catalogPath. |
String |
generateCatalogAsString(CrawlableDataset catalogCrDs)
Return a String containing the XML representation of the catalog for the level in the collection hierarchy specified by catalogPath. |
InvCatalogImpl |
generateProxyDsResolverCatalog(CrawlableDataset catalogCrDs,
ProxyDatasetHandler pdh)
Generate the catalog for a resolver request of the given ProxyDatasetHandler. |
CrawlableDataset |
requestCrawlableDataset(String path)
Return the CrawlableDataset for the given path, null if this CatalogBuilder does not allow the requested CrawlableDataset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardCatalogBuilder(String collectionPath, String collectionName, CrawlableDataset collectionCrDs, CrawlableDatasetFilter filter, InvService service, String collectionId, CrawlableDatasetLabeler identifier, CrawlableDatasetLabeler namer, boolean doAddDatasetSize, CrawlableDatasetSorter sorter, Map proxyDatasetHandlers, List childEnhancerList, InvDatasetImpl topLevelMetadataContainer, CatalogRefExpander catalogRefExpander)
Method Detail |
---|
public CrawlableDataset requestCrawlableDataset(String path) throws IOException
CatalogBuilder
This method can handle requests for regular datasets and proxy datasets.
requestCrawlableDataset
in interface CatalogBuilder
path
- the path of the requested CrawlableDataset
IOException
- if an I/O error occurs while locating the children datasets.public InvCatalogImpl generateCatalog(CrawlableDataset catalogCrDs) throws IOException
CatalogBuilder
generateCatalog
in interface CatalogBuilder
catalogCrDs
- the location in the collection at which to generate a catalog
IOException
- if problems accessing the dataset collection.public InvCatalogImpl generateProxyDsResolverCatalog(CrawlableDataset catalogCrDs, ProxyDatasetHandler pdh) throws IOException
CatalogBuilder
generateProxyDsResolverCatalog
in interface CatalogBuilder
catalogCrDs
- the location in the collection at which to generate a catalogpdh
- the ProxyDatasetHandler corresponding to the resolver request.
IOException
public org.jdom.Document generateCatalogAsDocument(CrawlableDataset catalogCrDs) throws IOException
CatalogBuilder
generateCatalogAsDocument
in interface CatalogBuilder
catalogCrDs
- the location in the collection at which to generate a catalog
IOException
- if problems accessing the dataset collection.public String generateCatalogAsString(CrawlableDataset catalogCrDs) throws IOException
CatalogBuilder
generateCatalogAsString
in interface CatalogBuilder
catalogCrDs
- the location in the collection at which to generate a catalog
IOException
- if problems accessing the dataset collection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |