public SoapActionType(String namespace, String type, Integer version, String actionName) { this.namespace = namespace; this.type = type; this.version = version; this.actionName = actionName; if (actionName != null && !ModelUtil.isValidUDAName(actionName)) { throw new IllegalArgumentException("Action name contains illegal characters: " + actionName); } }
public List<ValidationError> validate() { List<ValidationError> errors = new ArrayList<>(); if (getName() == null || getName().length() == 0) { errors.add(new ValidationError( getClass(), "name", "StateVariable without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid state variable name: " + this); } errors.addAll(getTypeDetails().validate()); return errors; }
"Argument without name of: " + getAction() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getAction().getService().getDevice()); log.warning("Invalid argument name: " + this);
"Action without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid action name: " + this);
public SoapActionType(String namespace, String type, Integer version, String actionName) { this.namespace = namespace; this.type = type; this.version = version; this.actionName = actionName; if (actionName != null && !ModelUtil.isValidUDAName(actionName)) { throw new IllegalArgumentException("Action name contains illegal characters: " + actionName); } }
public List<ValidationError> validate() { List<ValidationError> errors = new ArrayList(); if (getName() == null || getName().length() == 0) { errors.add(new ValidationError( getClass(), "name", "StateVariable without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid state variable name: " + this); } errors.addAll(getTypeDetails().validate()); return errors; }
"Argument without name of: " + getAction() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getAction().getService().getDevice()); log.warning("Invalid argument name: " + this);
"Action without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid action name: " + this);
public SoapActionType(String namespace, String type, Integer version, String actionName) { this.namespace = namespace; this.type = type; this.version = version; this.actionName = actionName; if (actionName != null && !ModelUtil.isValidUDAName(actionName)) { throw new IllegalArgumentException("Action name contains illegal characters: " + actionName); } }
public List<ValidationError> validate() { List<ValidationError> errors = new ArrayList<>(); if (getName() == null || getName().length() == 0) { errors.add(new ValidationError( getClass(), "name", "StateVariable without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid state variable name: " + this); } errors.addAll(getTypeDetails().validate()); return errors; }
"Argument without name of: " + getAction() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getAction().getService().getDevice()); log.warning("Invalid argument name: " + this);
"Action without name of: " + getService() )); } else if (!ModelUtil.isValidUDAName(getName())) { log.warning("UPnP specification violation of: " + getService().getDevice()); log.warning("Invalid action name: " + this);