public final class VersionProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.Object |
ALL_VERSION
Special version number constant to represent ALL in
excludeVersions . |
static VersionProcessor |
DEFAULT
Default
VersionProcessor that accepts any version. |
private java.util.Set<java.lang.Object> |
excludeVersions
This test shall be excluded from the RI of versions listed here.
|
private VersionNumber |
since
This test is only applicable to the RI of this version or later.
|
private VersionNumber |
until
This test is only applicable to the RI of this version or younger.
|
Modifier | Constructor and Description |
---|---|
private |
VersionProcessor()
Creates a default
VersionProcessor that accepts
any version. |
|
VersionProcessor(org.dom4j.Document testSpecMeta) |
|
VersionProcessor(org.dom4j.Element e) |
|
VersionProcessor(java.lang.String sinceValue,
java.lang.String untilValue,
java.lang.String excludeFromValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(VersionNumber v)
Checks if the test is valid against the JAXB RI of
the specified version.
|
private final VersionNumber since
private final VersionNumber until
private final java.util.Set<java.lang.Object> excludeVersions
private static final java.lang.Object ALL_VERSION
excludeVersions
.public static final VersionProcessor DEFAULT
VersionProcessor
that accepts any version.private VersionProcessor()
VersionProcessor
that accepts
any version.public VersionProcessor(java.lang.String sinceValue, java.lang.String untilValue, java.lang.String excludeFromValue)
public VersionProcessor(org.dom4j.Document testSpecMeta)
public VersionProcessor(org.dom4j.Element e)
public boolean isApplicable(VersionNumber v)