org.apache.tools.ant.taskdefs.optional

Class XMLValidateTask.Attribute

public static class XMLValidateTask.Attribute extends Object

The class to create to set a feature of the parser.

Since: ant1.6

Method Summary
StringgetName()
Gets the attribute name.
booleangetValue()
Gets the attribute value.
voidsetName(String name)
Set the feature name.
voidsetValue(boolean value)
Set the feature value to true or false.

Method Detail

getName

public String getName()
Gets the attribute name.

Returns: the feature name

getValue

public boolean getValue()
Gets the attribute value.

Returns: the feature value

setName

public void setName(String name)
Set the feature name.

Parameters: name the name to set

setValue

public void setValue(boolean value)
Set the feature value to true or false.

Parameters: value feature value