Package aQute.bnd.differ
Class XmlRepoDiffer
java.lang.Object
aQute.bnd.differ.XmlRepoDiffer
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<aQute.bnd.differ.Element> mapToElements(Map<String, ? extends Object> entries, Type type, boolean expandFilter) Creates list ofElements associating the specified entriesstatic aQute.bnd.differ.ElementReturns the differElementfor comparisonstatic aQute.bnd.differ.ElementReturns the differElementfor comparison
-
Method Details
-
resource
Returns the differElementfor comparisonNote that, the
filterdirectives will not be expanded- Parameters:
file- the XML resource repository- Returns:
- the differ
Element - Throws:
Exception- for any discrepancy- See Also:
-
resource
Returns the differElementfor comparisonNote that, the
filterdirectives will be expanded ifexpandFilteris set totrue- Parameters:
file- the XML resource repositoryexpandFilter- the flag to expandfilterdirectives- Returns:
- the differ
Element - Throws:
Exception- for any discrepancy- See Also:
-
mapToElements
public static List<aQute.bnd.differ.Element> mapToElements(Map<String, ? extends Object> entries, Type type, boolean expandFilter) Creates list ofElements associating the specified entries- Parameters:
entries- the entries to associatetype- the type to use for comparisonexpandFilter- the flag to expandfilterdirectives- Returns:
- the list of
Elements
-