creates a new multi-valued attribute with the specified attribute name and attribute values . if the attribute name can not be found in the schema , a new attribute type is created using the default attribute syntax . note : this method is provided as a convenience and should typically be reserved for use in unit tests and places where performance is not an issue . in particular , this method will construct a temporary array containing the attribute 's values . for peformance critical purposes , incrementally construct an attribute using an attributebuilder . concode_field_sep PlaceHolder placeHolder concode_field_sep AttributeType getAttributeType concode_elem_sep Attribute merge concode_elem_sep Attribute merge concode_elem_sep Attribute subtract concode_elem_sep Attribute subtract concode_elem_sep Attribute empty concode_elem_sep Attribute empty concode_elem_sep Attribute empty concode_elem_sep Attribute empty
Attribute function ( String arg0 , String arg1 , String ... arg2 ) { AttributeBuilder loc0 = new AttributeBuilder ( arg0 ) ; loc0 . add ( arg1 ) ; for ( String loc1 : arg2 ) { loc0 . add ( loc1 ) ; } return loc0 . toAttribute ( ) ; }