question: public org . smpte_ra . schemas . st2067_2_2016 . ContentMaturityRatingType buildContentMaturityRatingType ( String agency , String rating , org . smpte_ra . schemas . st2067_2_2016 . ContentMaturityRatingType . Audience audience ) throws URISyntaxException { org . smpte_ra . schemas . st2067_2_2016 . ContentMaturityRatingType contentMaturityRatingType = new org . smpte_ra . schemas . st2067_2_2016 . ContentMaturityRatingType ( ) ; if ( ! agency . matches ( "^[a-zA-Z0-9._-]+" ) == true ) { throw new URISyntaxException ( "Invalid URI" , "The ContentMaturityRating agency %s does not follow the syntax of a valid URI (a-z, A-Z, 0-9, ., _, -)" ) ; } contentMaturityRatingType . setAgency ( agency ) ; contentMaturityRatingType . setRating ( rating ) ; contentMaturityRatingType . setAudience ( audience ) ; return contentMaturityRatingType ; }
target:  A method to construct a ContentMaturityRatingType conforming to the 2016 schema