Package com.deltaxml.docbook.config
Class MovesConfig
java.lang.Object
com.deltaxml.docbook.config.MovesConfig
Contains parameters that affect the alignment/matching of documents.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default MovesConfig object.MovesConfig(boolean detectMoves) Constructs aMovesConfigobject using the provided detectMoves value.MovesConfig(boolean detectMoves, boolean removeMoveSource) Constructs aMovesConfigobject using the provided detectMoves & removeMoveSource values. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the detectMoves parameter.booleanGets the value of the removeMoveSource parameter.voidsetDetectMoves(boolean value) Set to detect and handle element moves.voidsetRemoveMoveSource(boolean value) Set to remove move source, this will remove the element showing where a moved node has come from.
-
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 aMovesConfigobject using the provided detectMoves value.- Parameters:
detectMoves- whether to turn on or off Moves.
-
MovesConfig
public MovesConfig(boolean detectMoves, boolean removeMoveSource) Constructs aMovesConfigobject 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
-