public static enum XmlSet.Conjunction extends Enum<XmlSet.Conjunction>
XmlSet. Such conjunction is an operation that
describes how a the results of multiple XmlSelectors are combined.| Enum Constant and Description |
|---|
INTERSECTION
This is the conjunction used to combine the results of multiple
XmlSelectors with a logical AND. |
UNION
This is the conjunction used to combine the results of multiple
XmlSelectors with a logical OR. |
| Modifier and Type | Method and Description |
|---|---|
static XmlSet.Conjunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlSet.Conjunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlSet.Conjunction UNION
XmlSelectors with a logical OR.
Each result that is accepted by any of the XmlSelectors is added to the result of the according
XmlSet. XmlSelector A accepts the XML nodes n1 and n2 with the
XmlSelector B accepts n2 and n3 then the UNION of A and
B will accept n1, n2 and n3.public static final XmlSet.Conjunction INTERSECTION
XmlSelectors with a logical AND.
Only results that are accepted by all of the XmlSelectors are added to the result of the according
XmlSet. XmlSelector A accepts the XML nodes n1 and n2 with the
XmlSelector B accepts n2 and n3 then the INTERSECTION of A and
B will only accept n2.public static XmlSet.Conjunction[] values()
for (XmlSet.Conjunction c : XmlSet.Conjunction.values()) System.out.println(c);
public static XmlSet.Conjunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001–2016 mmm-Team. All rights reserved.