public Attribute removeAttribute ( String name ) { for ( int i = _attributes . size ( ) - 1 ; i >= 0 ; i -- ) { Attribute attr = _attributes . get ( i ) ; if ( attr . getName ( ) . equals ( name ) ) { _attributes . remove ( i ) ; return attr ; } } return null ; }
Removes an attribute .