| Constructor and Description |
|---|
LocalFileCatalog(java.lang.String pathPrefix,
java.lang.String urlPrefix,
java.lang.String fname,
java.lang.String transformOnIngestFilename,
boolean useMemoryCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
net.sf.saxon.s9api.XdmNode |
getCatalogAsXdmNode(net.sf.saxon.s9api.Processor proc) |
org.jdom.Document |
getCatalogDocument() |
java.lang.String |
getCatalogKey() |
java.lang.String |
getFileName() |
java.lang.String |
getIngestTransformFilename() |
long |
getLastModified() |
java.lang.String |
getName() |
java.lang.String |
getPathPrefix() |
net.sf.saxon.s9api.XdmNode |
getRawCatalogAsXdmNode(net.sf.saxon.s9api.Processor proc) |
org.jdom.Document |
getRawCatalogDocument() |
java.lang.String |
getUrlPrefix() |
boolean |
needsRefresh() |
boolean |
usesMemoryCache() |
void |
writeCatalogXML(java.io.OutputStream os) |
void |
writeRawCatalogXML(java.io.OutputStream os) |
public LocalFileCatalog(java.lang.String pathPrefix,
java.lang.String urlPrefix,
java.lang.String fname,
java.lang.String transformOnIngestFilename,
boolean useMemoryCache)
throws java.lang.Exception
java.lang.Exceptionpublic boolean usesMemoryCache()
usesMemoryCache in interface Catalogpublic boolean needsRefresh()
needsRefresh in interface Catalogpublic void writeRawCatalogXML(java.io.OutputStream os)
throws java.lang.Exception
writeRawCatalogXML in interface Catalogjava.lang.Exceptionpublic void writeCatalogXML(java.io.OutputStream os)
throws java.lang.Exception
writeCatalogXML in interface Catalogjava.lang.Exceptionpublic org.jdom.Document getRawCatalogDocument()
throws java.io.IOException,
org.jdom.JDOMException
getRawCatalogDocument in interface Catalogjava.io.IOException - When things can't be read.org.jdom.JDOMException - When things can't be parsed.public org.jdom.Document getCatalogDocument()
throws java.io.IOException,
org.jdom.JDOMException,
net.sf.saxon.s9api.SaxonApiException
getCatalogDocument in interface Catalogjava.io.IOException - When things can't be read.org.jdom.JDOMException - When things can't be parsed.net.sf.saxon.s9api.SaxonApiExceptionpublic net.sf.saxon.s9api.XdmNode getRawCatalogAsXdmNode(net.sf.saxon.s9api.Processor proc)
throws java.io.IOException,
net.sf.saxon.s9api.SaxonApiException
getRawCatalogAsXdmNode in interface Catalogproc - XSLT processor that will be used to transform document.java.io.IOException - When things can't be read.net.sf.saxon.s9api.SaxonApiException - When things can't be parsed.public net.sf.saxon.s9api.XdmNode getCatalogAsXdmNode(net.sf.saxon.s9api.Processor proc)
throws java.io.IOException,
net.sf.saxon.s9api.SaxonApiException
getCatalogAsXdmNode in interface Catalogproc - XSLT processor that will be used to transform document.java.io.IOException - When things can't be read.net.sf.saxon.s9api.SaxonApiException - When things can't be parsed.public java.lang.String getCatalogKey()
getCatalogKey in interface Catalogpublic java.lang.String getPathPrefix()
getPathPrefix in interface Catalogpublic java.lang.String getUrlPrefix()
getUrlPrefix in interface Catalogpublic java.lang.String getFileName()
getFileName in interface Catalogpublic long getLastModified()
getLastModified in interface Catalogpublic java.lang.String getIngestTransformFilename()
getIngestTransformFilename in interface Catalog