question: public Attribute createAttribute ( String name , String value ) { AttributeField attributeImpl = new AttributeField ( ) ; try { attributeImpl . setName ( name ) ; attributeImpl . setValueAllowNull ( value ) ; } catch ( SdpException s ) { s . printStackTrace ( ) ; } return attributeImpl ; }
target:  Returns Attribute object with the specified values.