private boolean isXmlSchemaRepository ( Element element ) { String schemaRepositoryType = element . getAttribute ( "type" ) ; return StringUtils . isEmpty ( schemaRepositoryType ) || "xml" . equals ( schemaRepositoryType ) ; }
Decides whether the given element is a xml schema repository .