Class MovesConfig

java.lang.Object
com.deltaxml.docbook.config.MovesConfig

public class MovesConfig extends Object
Contains parameters that affect the alignment/matching of documents.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a default MovesConfig object.
    MovesConfig(boolean detectMoves)
    Constructs a MovesConfig object using the provided detectMoves value.
    MovesConfig(boolean detectMoves, boolean removeMoveSource)
    Constructs a MovesConfig object using the provided detectMoves & removeMoveSource values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets the value of the detectMoves parameter.
    boolean
    Gets the value of the removeMoveSource parameter.
    void
    setDetectMoves(boolean value)
    Set to detect and handle element moves.
    void
    setRemoveMoveSource(boolean value)
    Set to remove move source, this will remove the element showing where a moved node has come from.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MovesConfig

      public MovesConfig()
      Constructs a default MovesConfig object. Contains parameters that affect the alignment/matching of documents.
    • MovesConfig

      public MovesConfig(boolean detectMoves)
      Constructs a MovesConfig object using the provided detectMoves value.
      Parameters:
      detectMoves - whether to turn on or off Moves.
    • MovesConfig

      public MovesConfig(boolean detectMoves, boolean removeMoveSource)
      Constructs a MovesConfig object using the provided detectMoves & removeMoveSource values.
      Parameters:
      detectMoves - whether to enable moves.
      removeMoveSource - whether to remove the move source.
  • Method Details

    • isDetectMoves

      public boolean isDetectMoves()
      Gets the value of the detectMoves parameter.
      Returns:
      the value of the detectMoves parameter
    • setDetectMoves

      public void setDetectMoves(boolean value)

      Set to detect and handle element moves.

      Default: false

      Parameters:
      value - the value to set for the detect-moves parameter
    • isRemoveMoveSource

      public boolean isRemoveMoveSource()
      Gets the value of the removeMoveSource parameter.
      Returns:
      the value of the removeMoveSource parameter
    • setRemoveMoveSource

      public void setRemoveMoveSource(boolean value)

      Set to remove move source, this will remove the element showing where a moved node has come from.

      Default: false

      Parameters:
      value - the value to set for the remove-move-source parameter