opendap/src/main/java/opendap/dap/Attribute.java
public void appendValue(String value, boolean check)
            throws NoSuchAttributeException, AttributeBadValueException
    {

        checkVectorUsage();
        if(check)
            value = forceValue(type, value);

        ((Vector) attr).addElement(value);
    }
public void appendValue(String value, boolean check)
            throws NoSuchAttributeException, AttributeBadValueException
    {

        checkVectorUsage();
        if(check)
            value = forceValue(type, value);

        ((Vector) attr).addElement(value);
    }
public void appendValue ( String value , boolean check ) throws NoSuchAttributeException , AttributeBadValueException { checkVectorUsage ( ) ; if ( check ) value = forceValue ( type , value ) ; ( ( Vector ) attr ) . addElement ( value ) ; }
Append a value to this attribute.

@param value the attribute <code>String</code> to add.
@param check if true, check the validity of he attribute's value, if
false don't.
@throws AttributeBadValueException thrown if the value is not a legal
member of type
Append a value to this attribute .