public static class TaxonomyPackageURIResolver.TaxonomyPackage
extends java.lang.Object
| Constructor and Description |
|---|
TaxonomyPackageURIResolver.TaxonomyPackage(java.lang.String startPath,
java.io.File zipfileFile,
java.lang.String version,
java.util.HashMap<java.lang.String,TaxonomyPackageURIResolver.PackageByLangInfo> infoByLang,
java.util.HashMap<java.net.URI,java.lang.String> remappings,
java.util.Vector<TaxonomyPackageURIResolver.EntryPointHRefs> allEpHRefs)
Instantiates a new taxonomy package.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteFile()
Delete file.
|
boolean |
equals(java.lang.Object obj) |
java.util.Vector<TaxonomyPackageURIResolver.EntryPointHRefs> |
getAllEpHRefs()
Gets the all ep h refs.
|
java.util.Iterator<java.net.URI> |
getBases()
Gets the bases.
|
java.util.Collection<TaxonomyPackageURIResolver.EntryPointLangInfo> |
getEntryPoints()
Gets the entry points.
|
java.lang.String |
getName()
Gets the name.
|
java.util.Collection<java.net.URI> |
getRemappings()
Gets the remappings.
|
java.lang.String |
getReplaceWith(java.net.URI prefix)
Gets the replace with.
|
java.lang.String |
getVersion()
Gets the version.
|
java.lang.String |
getZipFile()
Gets the zip file.
|
int |
hashCode() |
javax.xml.transform.Source |
resolve(java.lang.String absoluteOfficialURI)
Resolve.
|
javax.xml.transform.Source |
resolve(java.net.URI key,
java.lang.String absoluteOfficialURI)
Resolve.
|
void |
setOasisCatalog(java.lang.String oasisCatalogFile)
At this time it is required to load all rewriteURI entries in
the incoming catalog file and populate the remapingsByUri.
|
public TaxonomyPackageURIResolver.TaxonomyPackage(java.lang.String startPath,
java.io.File zipfileFile,
java.lang.String version,
java.util.HashMap<java.lang.String,TaxonomyPackageURIResolver.PackageByLangInfo> infoByLang,
java.util.HashMap<java.net.URI,java.lang.String> remappings,
java.util.Vector<TaxonomyPackageURIResolver.EntryPointHRefs> allEpHRefs)
startPath - the start pathzipfileFile - the zipfile fileversion - the versioninfoByLang - the info by langremappings - the remappingsallEpHRefs - the all ep h refspublic java.util.Iterator<java.net.URI> getBases()
public java.util.Collection<java.net.URI> getRemappings()
public java.lang.String getReplaceWith(java.net.URI prefix)
prefix - the prefixpublic java.lang.String getZipFile()
public javax.xml.transform.Source resolve(java.lang.String absoluteOfficialURI)
absoluteOfficialURI - the absolute official uripublic javax.xml.transform.Source resolve(java.net.URI key,
java.lang.String absoluteOfficialURI)
key - the keyabsoluteOfficialURI - the absolute official uripublic java.lang.String getVersion()
public java.lang.String getName()
public java.util.Vector<TaxonomyPackageURIResolver.EntryPointHRefs> getAllEpHRefs()
public java.util.Collection<TaxonomyPackageURIResolver.EntryPointLangInfo> getEntryPoints()
public boolean deleteFile()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void setOasisCatalog(java.lang.String oasisCatalogFile)
oasisCatalogFile - the new oasis catalog