public boolean matches ( final Node node ) { if ( node . getNodeType ( ) == Node . ELEMENT_NODE ) { return matches ( ( ( Element ) node ) . getAttribute ( ATTRIBUTE_NAME_CLASS ) ) ; } return false ; }
Test if given DITA class string matches this DITA class .