org.apache.tools.ant.taskdefs.condition

Class Xor

public class Xor extends ConditionBase implements Condition

The Xor condition type to exclusive or operations. This does not shortcut stuff.
Method Summary
booleaneval()
Evaluate the contained conditions.

Method Detail

eval

public boolean eval()
Evaluate the contained conditions.

Returns: the result of xoring the conditions together.

Throws: org.apache.tools.ant.BuildException if an error occurs.