class WSDLImport {

    public static WSDLImport fromString(String importValue) throws Exception {
        if (!isValidString(importValue)) {
            throw new Exception("The value: " + importValue + " is not a valid WSDL Import.");
        }

        String[] importParts = splitImportString(importValue);
        WSDLImport wsdlImport = new WSDLImport(importParts[1], importParts[2]);

        return wsdlImport;
    }

    public  WSDLImport();
    public  WSDLImport(@MapsTo("location") final String location,
                      @MapsTo("namespace") final String namespace);

}