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 voidadjustCommentDrawing(CommentDrawing commentDrawing, int columnIndex, int rowIndex) Adjust comment drawing.static intcompareVersions(Integer[] left, Integer[] right) Compare versions.static booleanisVersionCorrect(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 benullcolumnIndex- 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:
trueif correct.
-