private MetaInfo tryFetchMetaInfo ( URI jsonSchemaUri ) { if ( jsonSchemaUri == null ) return null ; try { metaInfo = doFetchMetaInfo ( jsonSchemaUri ) ; Validator validator = metaInfo . getDefaultValidator ( ) ; if ( validator != null ) { getValidators ( ) . add ( validator ) ; } } catch ( Exception ex ) { return null ; } return metaInfo ; }
Tries to fetch a schema and add the default Schema validator for it