e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 14 (0.0020 seconds)
Class: org.springframework.jndi.JndiObjectLocator  ©, Rating: 0% of 0, C1

72 */ 73 public void afterPropertiesSet() throws NamingException { 74 if (!StringUtils.hasLength(getJndiName())) { 75 throw new IllegalArgumentException("jndiName is required"); 76 }

Class: org.springframework.validation.ValidationUtils  ©, Rating: 0% of 0, C1

112 Errors errors, String field, String errorCode, Object[] errorArgs, String defaultMessage) { 113 Object value = errors.getFieldValue(field); 114 if (value == null || !StringUtils.hasLength(value.toString())) { 115 errors.rejectValue(field, errorCode, errorArgs, defaultMessage); 116 }

Class: org.springframework.beans.factory.config.ServiceLocatorFactoryBean  ©, Rating: 0% of 0, C2

165 } 166 167 if (StringUtils.hasLength(beanName)) { 168 // Service locator for a specific bean name. 169 return beanFactory.getBean(beanName, serviceLocatorReturnType);

Class: org.springframework.util.Assert  ©, Rating: 0% of 0, C1

112 */ 113 public static void hasLength(String text, String message) { 114 if (!StringUtils.hasLength(text)) { 115 throw new IllegalArgumentException(message); 116 }

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C3

554 // a reference to the id of another bean in the same XML file 555 beanRef = ele.getAttribute(LOCAL_REF_ATTRIBUTE); 556 if (!StringUtils.hasLength(beanRef)) { 557 throw new BeanDefinitionStoreException( 558 this.resource, beanName, "Either 'bean' or 'local' is required for an idref");

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C3

551 // a generic reference to any name of any bean 552 String beanRef = ele.getAttribute(BEAN_REF_ATTRIBUTE); 553 if (!StringUtils.hasLength(beanRef)) { 554 // a reference to the id of another bean in the same XML file 555 beanRef = ele.getAttribute(LOCAL_REF_ATTRIBUTE);

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C3

539 // a reference to the id of another bean in the same XML file 540 beanRef = ele.getAttribute(PARENT_REF_ATTRIBUTE); 541 if (!StringUtils.hasLength(beanRef)) { 542 throw new BeanDefinitionStoreException( 543 this.resource, beanName, "'bean', 'local' or 'parent' is required for a reference");

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C3

536 // a reference to the id of another bean in the same XML file 537 beanRef = ele.getAttribute(LOCAL_REF_ATTRIBUTE); 538 if (!StringUtils.hasLength(beanRef)) { 539 // a reference to the id of another bean in the same XML file 540 beanRef = ele.getAttribute(PARENT_REF_ATTRIBUTE);

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C3

533 // a generic reference to any name of any bean 534 String beanRef = ele.getAttribute(BEAN_REF_ATTRIBUTE); 535 if (!StringUtils.hasLength(beanRef)) { 536 // a reference to the id of another bean in the same XML file 537 beanRef = ele.getAttribute(LOCAL_REF_ATTRIBUTE);

Class: org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser  ©, Rating: 0% of 0, C1

481 protected void parsePropertyElement(Element ele, String beanName, MutablePropertyValues pvs) { 482 String propertyName = ele.getAttribute(NAME_ATTRIBUTE); 483 if (!StringUtils.hasLength(propertyName)) { 484 throw new BeanDefinitionStoreException( 485 this.resource, beanName, "Tag 'property' must have a 'name' attribute");

Result Page:  1.0  |  2.0   Next