Package net.sf.saxon.trans.packages
Class VersionedPackageName
java.lang.Object
net.sf.saxon.trans.packages.VersionedPackageName
This class represents the combination of an XSLT package name (that is, a URI) and a version
number
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVersionedPackageName
(String packageName, String version) VersionedPackageName
(String packageName, PackageVersion version) -
Method Summary
-
Field Details
-
packageName
-
packageVersion
-
-
Constructor Details
-
VersionedPackageName
-
VersionedPackageName
- Throws:
XPathException
-
-
Method Details
-
toString
-
equalsIgnoringSuffix
Compare two package name/version pairs for equality, ignoring the suffix part of the version number. For example (http://package-one/, 2.1-alpha) compares equal to (http://package-one/, 2.1-beta)- Parameters:
other
- the other name/version pair- Returns:
- true if the values are equal in all respects other than the alphanumeric suffix of the version number.
-
equals
-
hashCode
public int hashCode()
-