public boolean isType ( final String t ) { final String dt = decode ( t ) ; if ( dt . equals ( getType ( ) ) ) { return true ; } return "attribute" . equals ( getType ( ) ) && dt . equalsIgnoreCase ( getString ( ) ) ; }
Check this object against a sought after type string .