Constructor and Description |
---|
RemoteHttpCatalog(java.lang.String pathPrefix,
java.lang.String urlPrefix,
java.lang.String fname,
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 RemoteHttpCatalog(java.lang.String pathPrefix, java.lang.String urlPrefix, java.lang.String fname, boolean useMemoryCache) throws java.lang.Exception
java.lang.Exception
public java.lang.String getCatalogKey()
getCatalogKey
in interface Catalog
public boolean usesMemoryCache()
usesMemoryCache
in interface Catalog
public boolean needsRefresh()
needsRefresh
in interface Catalog
public void writeCatalogXML(java.io.OutputStream os) throws java.lang.Exception
writeCatalogXML
in interface Catalog
java.lang.Exception
public void writeRawCatalogXML(java.io.OutputStream os) throws java.lang.Exception
writeRawCatalogXML
in interface Catalog
java.lang.Exception
public org.jdom.Document getCatalogDocument() throws java.io.IOException, org.jdom.JDOMException
getCatalogDocument
in interface Catalog
java.io.IOException
org.jdom.JDOMException
public org.jdom.Document getRawCatalogDocument() throws java.io.IOException, org.jdom.JDOMException
getRawCatalogDocument
in interface Catalog
java.io.IOException
org.jdom.JDOMException
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 Catalog
java.io.IOException
net.sf.saxon.s9api.SaxonApiException
public net.sf.saxon.s9api.XdmNode getRawCatalogAsXdmNode(net.sf.saxon.s9api.Processor proc) throws java.io.IOException, net.sf.saxon.s9api.SaxonApiException
getRawCatalogAsXdmNode
in interface Catalog
java.io.IOException
net.sf.saxon.s9api.SaxonApiException
public java.lang.String getPathPrefix()
getPathPrefix
in interface Catalog
public java.lang.String getUrlPrefix()
getUrlPrefix
in interface Catalog
public java.lang.String getFileName()
getFileName
in interface Catalog
public long getLastModified()
getLastModified
in interface Catalog
public java.lang.String getIngestTransformFilename()
getIngestTransformFilename
in interface Catalog