code: public NamedStyleInfo getNamedStyleInfo(String name) {
  		for (NamedStyleInfo info : namedStyleInfos) {
  			if (info.getName().equals(name)) {
  				return info;
  			}
  		}
  		return null;
  	}
docs: Get layer style by name.
  
  @param name layer style name
  @return layer style