public final class BeanPropertySetterBuilder extends Object
LinkedRuleBuilder.setBeanProperty()
.Modifier and Type | Method and Description |
---|---|
protected BeanPropertySetterRule |
createRule()
Provides an instance of
Rule . |
BeanPropertySetterBuilder |
extractPropertyNameFromAttribute(String attribute)
Sets the attribute name from which the property name has to be extracted.
|
R |
get()
Provides an instance of
Rule . |
String |
getNamespaceURI()
Returns the namespace URI for which this Rule is relevant, if any.
|
String |
getPattern()
Returns the rule pattern associated to this builder.
|
protected void |
reportError(String methodChain,
String message) |
LinkedRuleBuilder |
then()
Come back to the main
LinkedRuleBuilder . |
BeanPropertySetterBuilder |
withName(String propertyName)
Sets the name of property to set.
|
public BeanPropertySetterBuilder withName(String propertyName)
propertyName
- The name of property to setpublic BeanPropertySetterBuilder extractPropertyNameFromAttribute(String attribute)
attribute
- The attribute name from which extracting the name of property to setprotected BeanPropertySetterRule createRule()
Rule
. Must never return null.public final LinkedRuleBuilder then()
LinkedRuleBuilder
.LinkedRuleBuilder
public final String getNamespaceURI()
public final R get()
Rule
. Must never return null.get
in interface RuleProvider<R extends Rule>
Rule
.protected final void reportError(String methodChain, String message)
public final String getPattern()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.