public class VersionedPackageName
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
packageName |
PackageVersion |
packageVersion |
Constructor and Description |
---|
VersionedPackageName(java.lang.String packageName,
PackageVersion version) |
VersionedPackageName(java.lang.String packageName,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsIgnoringSuffix(VersionedPackageName other)
Compare two package name/version pairs for equality, ignoring the suffix part
of the version number.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String packageName
public PackageVersion packageVersion
public VersionedPackageName(java.lang.String packageName, PackageVersion version)
public VersionedPackageName(java.lang.String packageName, java.lang.String version) throws XPathException
XPathException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equalsIgnoringSuffix(VersionedPackageName other)
other
- the other name/version pairpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.