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 ofElement
s associating the specified entriesstatic aQute.bnd.differ.Element
Returns the differElement
for comparisonstatic aQute.bnd.differ.Element
Returns the differElement
for comparison
-
Method Details
-
resource
Returns the differElement
for comparisonNote that, the
filter
directives will not be expanded- Parameters:
file
- the XML resource repository- Returns:
- the differ
Element
- Throws:
Exception
- for any discrepancy- See Also:
-
resource
Returns the differElement
for comparisonNote that, the
filter
directives will be expanded ifexpandFilter
is set totrue
- Parameters:
file
- the XML resource repositoryexpandFilter
- the flag to expandfilter
directives- 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 ofElement
s associating the specified entries- Parameters:
entries
- the entries to associatetype
- the type to use for comparisonexpandFilter
- the flag to expandfilter
directives- Returns:
- the list of
Element
s
-