public final class EHFSchemaValidator extends Object
public static void setClientUrl(String url)
public static String validateEhfXml(String xml) throws IOException, Exception
xml - IOExceptionException@Deprecated public static String listVersions() throws ClassNotFoundException, Exception
ClassNotFoundException - the class not found exceptionException - the exception@Deprecated public static String listSchemasForCurrentVersion(String version) throws IOException, Exception
version - the versionIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static String validateByVersionAndSchemaAuto(String xml) throws IOException, Exception
xml - the xmlIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static String validateVersionAndSchemaAutoSuppressWarnings(String xml) throws IOException, Exception
xml - the xmlIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static String validateBySchema(String version, String schema, String xml) throws IOException, Exception
version - the versionschema - the schemaxml - the xmlIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static String validateSchemaSuppressWarnings(String version, String schema, String xml) throws Exception
version - the versionschema - the schemaxml - the xmlException - the exception@Deprecated public static ValidationInfoDTO validateVersionAndSchemaAuto(String xml) throws IOException, Exception
xml - the ValidationInfoDTOIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static ValidationInfoDTO validateVersionAndSchemaAutoFilterWarnings(String xml) throws IOException, Exception
xml - the xmlIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static ValidationInfoDTO validateSchema(String version, String schema, String xml) throws IOException, Exception
version - the versionschema - the schemaxml - the xmlIOException - Signals that an I/O exception has occurred.Exception - the exception@Deprecated public static ValidationInfoDTO validateSchemaFilterWarnings(String version, String schema, String xml) throws Exception
version - the versionschema - the schemaxml - the xmlException - the exceptionCopyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.