Package org.cip4.jdflib.core
Class JDFVersions
java.lang.Object
org.cip4.jdflib.core.JDFVersions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intDeprecated.use JDFElement.getDefaultJDFVersion()static booleanReturns the JDF version that all checks are forced to.static longgetTheMaskstatic longgetTheOffsetstatic voidDeprecated.use JDFElement.setDefaultJDFVersion(v);static voidsetForceVersion(boolean b) sets the JDF version that all checks are forced to.
-
Constructor Details
-
JDFVersions
public JDFVersions()
-
-
Method Details
-
getDefaultVersion
Deprecated.use JDFElement.getDefaultJDFVersion()Returns the default JDF version.- Returns:
- String: JDF version string
-
setDefaultVersion
Deprecated.use JDFElement.setDefaultJDFVersion(v);Sets the default JDF version.- Parameters:
v-
-
getForceVersion
public static boolean getForceVersion()Returns the JDF version that all checks are forced to.- Returns:
- String: JDF version string
-
setForceVersion
public static void setForceVersion(boolean b) sets the JDF version that all checks are forced to.- Parameters:
b-
-
getTheMask
getTheMask- Parameters:
v- the version to look for- Returns:
- Returns the bit mask for isolating the appropriate validity bits.
-
getTheOffset
getTheOffset- Parameters:
v-- Returns:
- Returns the theOffset.
-