public class RuleConfiguration extends Object
| Constructor and Description | 
|---|
RuleConfiguration()
Create a new RuleConfiguration about that contains settings for DitaMerge rule based processing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<String> | 
getDisplayChangesInvolving()
Reports the current setting of the display Changes by parameter. 
 | 
String | 
getDisplayChangesTo()
Reports the current setting of DisplayChangesTo. 
 | 
String | 
getDisplayFormatChangesIn()
Reports the current setting of DisplayFormatChangesIn. 
 | 
boolean | 
getDisplaySimpleAdds()
Reports the current setting of the displaySimpleAdds parameter. 
 | 
boolean | 
getDisplaySimpleDeletes()
Reports the current setting of the displaySimpleDeletes parameter. 
 | 
boolean | 
getDisplaySimpleModify()
Reports the current setting of the displaySimpleModify parameter. 
 | 
List<String> | 
getVersionPriorityList()
Reports the current setting of the version priority list. 
 | 
void | 
setDisplayChangesInvolving(Set<String> versions)
Specifies the set of versions for which all changes should be displayed. 
 | 
void | 
setDisplayChangesTo(String xpath)
Specifies which elements in the result are always displayed to the user. 
 | 
void | 
setDisplayFormatChangesIn(String xpath)
Specifies which elements contain formatting elements, where the user wants formatting changes displayed. 
 | 
void | 
setDisplaySimpleAdds(boolean display)
Controls whether simple adds are displayed. 
 | 
void | 
setDisplaySimpleDeletes(boolean display)
Controls whether simple deletes are displayed. 
 | 
void | 
setDisplaySimpleModify(boolean display)
Controls whether simple modifications are displayed. 
 | 
void | 
setVersionPriorityList(List<String> priorityList)
Specifies the priority version list for resolving simple conflicts. 
 | 
public RuleConfiguration()
public void setDisplayChangesInvolving(Set<String> versions)
versions - a set of delta versions specified using Stringspublic Set<String> getDisplayChangesInvolving()
public void setDisplayChangesTo(String xpath) throws IllegalArgumentException
xpath - An XPath expression (up to XPath 3.1) that returns 0 or more elements when evaluated against the raw result.IllegalArgumentException - if the string is null, zero length or cannot be compiled to an XPathpublic String getDisplayChangesTo()
public void setDisplayFormatChangesIn(String xpath) throws IllegalArgumentException
xpath - An XPath expression (up to XPath 3.1) that returns 0 or more elements when evaluated against the raw result.IllegalArgumentException - if the string is null, zero length or cannot be compiled to an XPathpublic String getDisplayFormatChangesIn()
public void setDisplaySimpleAdds(boolean display)
display - when true all adds are displayed, when false adds are displayed
        according to other rulespublic boolean getDisplaySimpleAdds()
public void setDisplaySimpleDeletes(boolean display)
display - when true all deletes are displayed, when false deletes are displayed
        according to other rulespublic boolean getDisplaySimpleDeletes()
public void setDisplaySimpleModify(boolean display)
display - when true all modifications are displayed, when false modifications are displayed
        according to other rulespublic boolean getDisplaySimpleModify()
public void setVersionPriorityList(List<String> priorityList)
priorityList - a list of priority versions specified using StringsCopyright © 2015 - 2019 DeltaXML Ltd. All Rights Reserved.