public Stream < AbstractAttribute > buildAllAttributesStream ( final boolean parallel ) { final Stream < AbstractAttribute > attributesStream = buildAllTagsStream ( parallel ) . filter ( tag -> tag . getAttributes ( ) != null ) . map ( tag -> { return tag . getAttributes ( ) ; } ) . flatMap ( attributes -> attributes . stream ( ) ) ; return attributesStream ; }
Finds all attributes as stream from all tags .