public boolean hasDecoration ( byte decorationType ) { if ( hasDecorations ( ) ) { for ( Decoration m_decoration : m_decorations ) { if ( m_decoration . isType ( decorationType ) ) return true ; } } return false ; }
Test if the element has the specified type of decoration