private boolean isBooleanFalse ( ) { if ( getNode ( ) . getDataKey ( ) >= 0 ) { return false ; } else { // is AtomicValue if ( getNode ( ) . getTypeKey ( ) == NamePageHash . generateHashForString ( "xs:boolean" ) ) { // atomic value of type boolean // return true, if atomic values's value is false return ! ( Boolean . parseBoolean ( new String ( ( ( ITreeValData ) getNode ( ) ) . getRawValue ( ) ) ) ) ; } else { return false ; } } }
Tests whether current Item is an atomic value with boolean value false .