public abstract class JaxpVersion extends Object
Only distinguishes between JAXP 1.0, 1.1, 1.3, and 1.4, since JAXP 1.2 was a maintenance release with no new classes.
Note that Spring-WS requires JDK 1.5 as of Spring-WS 2.0, and therefore has at least JAXP 1.3 available.
Modifier and Type | Field and Description |
---|---|
static int |
JAXP_10
Constant identifying JAXP 1.0.
|
static int |
JAXP_11
Constant identifying JAXP 1.1.
|
static int |
JAXP_13
Constant identifying JAXP 1.3.
|
static int |
JAXP_14
Constant identifying JAXP 1.4.
|
Constructor and Description |
---|
JaxpVersion() |
Modifier and Type | Method and Description |
---|---|
static int |
getJaxpVersion()
Gets the JAXP version.
|
static boolean |
isAtLeastJaxp14()
Convenience method to determine if the current JAXP version is at least 1.4 (packaged with JDK 1.6).
|
public static final int JAXP_10
public static final int JAXP_11
public static final int JAXP_13
public static final int JAXP_14
public static int getJaxpVersion()
(getJaxpVersion() < JAXP_13)
.public static boolean isAtLeastJaxp14()
true
if the current JAXP version is at least JAXP 1.4getJaxpVersion()
,
JAXP_14