|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.snamespaces.BeanDefinitionParserBinder
public abstract class BeanDefinitionParserBinder
Provides methods to support various bindings used throughout the framework.
| Constructor Summary | |
|---|---|
BeanDefinitionParserBinder()
|
|
| Method Summary | |
|---|---|
static void |
bindProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName)
Bind to BeanDefinitionBuilder a value
represented by the xml attribute name in element
to the specified property. |
static void |
bindProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName,
boolean allowEmpty)
Bind to BeanDefinitionBuilder a value
represented by the xml attribute name in element
to the specified property. |
static void |
bindReference(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName)
Bind to BeanDefinitionBuilder a reference to
the specified bean name represented by the xml attribute
name in element under the property specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanDefinitionParserBinder()
| Method Detail |
|---|
public static void bindProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName)
BeanDefinitionBuilder a value
represented by the xml attribute name in element
to the specified property.
builder - the BeanDefinitionBuilderelement - the xml elementattributeName - the xml attribute that contains the property value.propertyName - the name of the propertybindProperty(BeanDefinitionBuilder, Element, String, String, boolean)
public static void bindProperty(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName,
boolean allowEmpty)
BeanDefinitionBuilder a value
represented by the xml attribute name in element
to the specified property.
builder - the BeanDefinitionBuilderelement - the xml elementattributeName - the xml attribute that contains the property value.propertyName - the name of the propertyallowEmpty - the flag to allow or not an empty value to xml attribute value under given xml attribute name
java.lang.IllegalArgumentException - if the xml attribute contains a empty value and allowEmpty param is false
public static void bindReference(org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
org.w3c.dom.Element element,
java.lang.String attributeName,
java.lang.String propertyName)
BeanDefinitionBuilder a reference to
the specified bean name represented by the xml attribute
name in element under the property specified.
builder - the BeanDefinitionBuilderelement - the xml elementattributeName - the xml attribute name that contains the name of the bean being referencedpropertyName - the name of the property to add the reference to
java.lang.IllegalArgumentException - if the xml attribute under given name contains a empty value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||