public void setValue ( List < Tag > value ) throws IllegalArgumentException { this . type = null ; this . value . clear ( ) ; for ( Tag tag : value ) { this . add ( tag ) ; } }
Sets the value of this tag . The list tag s type will be set to that of the first tag being added or null if the given list is empty .