Class MxlSerializerUtil
java.lang.Object
com._1c.g5.v8.dt.internal.moxel.serializer.MxlSerializerUtil
Utils for mxl serializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
adjustCommentDrawing
(CommentDrawing commentDrawing, int columnIndex, int rowIndex) Adjust comment drawing.static int
compareVersions
(Integer[] left, Integer[] right) Compare versions.static boolean
isVersionCorrect
(Integer[] version) Check if mxl version is correct.
-
Field Details
-
NULL_UUID
Empty null UUID.
-
-
Constructor Details
-
MxlSerializerUtil
public MxlSerializerUtil()
-
-
Method Details
-
adjustCommentDrawing
public static void adjustCommentDrawing(CommentDrawing commentDrawing, int columnIndex, int rowIndex) Adjust comment drawing.- Parameters:
commentDrawing
- the comment drawing, cannot benull
columnIndex
- the column indexrowIndex
- the row index
-
compareVersions
Compare versions.- Parameters:
left
- the left versionright
- the right version- Returns:
- 0, > 0 or < 0
-
isVersionCorrect
Check if mxl version is correct.- Parameters:
version
- the version- Returns:
true
if correct.
-