Class SelectingUnrepresentableChange
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newSelectingUnrepresentableChangeinstance.SelectingUnrepresentableChange(ModifiedAttributeMode modifiedAttributeMode) Create a newSelectingUnrepresentableChangeinstance, setting how modified attributes should be included in the output.SelectingUnrepresentableChange(UnmarkedChangeMode unmarkedChangeMode) Create a newSelectingUnrepresentableChangeinstance, setting how to handle data that cannot contain difference markup. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the modifiedAttributeMode parameter.Gets the value of the unmarkedChangeMode parameter.voidSpecifies how modified attributes should be included in the output.voidSpecifies how to handle data that cannot contain difference markup.
-
Constructor Details
-
SelectingUnrepresentableChange
public SelectingUnrepresentableChange()Create a newSelectingUnrepresentableChangeinstance. These parameters are used to specify how unrepresentable change can be handled. -
SelectingUnrepresentableChange
Create a newSelectingUnrepresentableChangeinstance, setting how modified attributes should be included in the output. These parameters are used to specify how unrepresentable change can be handled.- Parameters:
modifiedAttributeMode- specifies how modified attributes should be included in the output.
-
SelectingUnrepresentableChange
Create a newSelectingUnrepresentableChangeinstance, setting how to handle data that cannot contain difference markup. These parameters are used to specify how unrepresentable change can be handled.- Parameters:
unmarkedChangeMode- specifies how to handle data that cannot contain difference markup.
-
-
Method Details
-
getModifiedAttributeMode
Gets the value of the modifiedAttributeMode parameter.- Returns:
- the value of the modifiedAttributeMode parameter
-
setModifiedAttributeMode
Specifies how modified attributes should be included in the output.
Not all output formats allow the markup of attribute changes. When this is the case, a decision needs to be made on which version of the attribute should be present in the result file. This parameter is used to define what behaviour is required.
Default:
ModifiedAttributeMode.AUTOMATIC- Parameters:
value- the value to set for the modifiedAttributeMode parameter- Throws:
IllegalArgumentException- if the value is null
-
getUnmarkedChangeMode
Gets the value of the unmarkedChangeMode parameter.- Returns:
- the value of the unmarkedChangeMode parameter
-
setUnmarkedChangeMode
Specifies how to handle data that cannot contain difference markup.
Some differences between two XML documents cannot feasibly be displayed in a valid output document. These typically include changes to the XML declaration, doctype, internal subset and processing instructions. In these situations it is useful to specify what should be done.
Note that the internal subset can contain local element, attribute, and entity declarations, as well as processing instructions, comments, and entity-references.
Default:
UnmarkedChangeMode.BD_A- Parameters:
value- the value to set for the unmarkedChangeMode parameter- Throws:
IllegalArgumentException- if the value is null
-