org.springframework.xml
Class JaxpVersion
java.lang.Object
org.springframework.xml.JaxpVersion
public abstract class JaxpVersion
- extends java.lang.Object
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.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXP_10
public static final int JAXP_10
- See Also:
- Constant Field Values
JAXP_11
public static final int JAXP_11
- See Also:
- Constant Field Values
JAXP_13
public static final int JAXP_13
- See Also:
- Constant Field Values
JAXP_14
public static final int JAXP_14
- See Also:
- Constant Field Values
JaxpVersion
public JaxpVersion()
getJaxpVersion
public static int getJaxpVersion()
- Gets the JAXP version. This means we can do things like if
(getJaxpVersion() < JAXP_13).
- Returns:
- a code comparable to the JAXP_XX codes in this class
- See Also:
JAXP_10,
JAXP_11,
JAXP_13,
JAXP_14
Copyright © 2005-2007 The Spring Web Services Framework. All Rights Reserved.