public String extractData ( XEvent event ) { XAttribute attribute = event . getAttributes ( ) . get ( KEY_DATA ) ; if ( attribute == null ) { return null ; } else { return ( ( XAttributeLiteral ) attribute ) . getValue ( ) ; } }
Extracts the data attribute string from an event .