public Properties getAttributes ( Attributes attrs ) { Properties attributes = new Properties ( ) ; attributes . putAll ( attributeValues ) ; if ( defaultContent != null ) { attributes . put ( ElementTags . ITEXT , defaultContent ) ; } if ( attrs != null ) { for ( int i = 0 ; i < attrs . getLength ( ) ; i ++ ) { String attribute = getName ( attrs . getQName ( i ) ) ; attributes . setProperty ( attribute , attrs . getValue ( i ) ) ; } } return attributes ; }
Gets the list of attributes of the peer .