|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.xml.JaxpVersion
public abstract class JaxpVersion
Helper class used to find the current version of JAXP. We cannot depend on the Java version, since JAXP can be upgraded independently of the Java version.
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.
Field Summary | |
---|---|
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 Summary | |
---|---|
JaxpVersion()
|
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int JAXP_10
public static final int JAXP_11
public static final int JAXP_13
public static final int JAXP_14
Constructor Detail |
---|
public JaxpVersion()
Method Detail |
---|
public static int getJaxpVersion()
(getJaxpVersion() < JAXP_13)
.
JAXP_10
,
JAXP_11
,
JAXP_13
,
JAXP_14
public static boolean isAtLeastJaxp14()
true
if the current JAXP version is at least JAXP 1.4getJaxpVersion()
,
JAXP_14
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |