1 16 17 package org.springframework.beans.factory.parsing; 18 19 import org.springframework.util.StringUtils; 20 21 27 public class PropertyEntry implements ParseState.Entry { 28 29 private final String name; 30 31 32 38 public PropertyEntry(String name) { 39 if (!StringUtils.hasText(name)) { 40 throw new IllegalArgumentException ("Invalid property name '" + name + "'."); 41 } 42 this.name = name; 43 } 44 45 46 public String toString() { 47 return "Property '" + this.name + "'"; 48 } 49 50 } 51 | Popular Tags |