private void parseReadOnly ( CloudTrailEventData eventData ) throws IOException { jsonParser . nextToken ( ) ; Boolean readOnly = null ; if ( jsonParser . getCurrentToken ( ) != JsonToken . VALUE_NULL ) { readOnly = jsonParser . getBooleanValue ( ) ; } eventData . add ( CloudTrailEventField . readOnly . name ( ) , readOnly ) ; }
Parses the event readOnly attribute .