public final class SetPropertyBuilder extends Object
LinkedRuleBuilder.setProperty(String)
.Modifier and Type | Method and Description |
---|---|
protected SetPropertyRule |
createRule()
Provides an instance of
Rule . |
SetPropertyBuilder |
extractingValueFromAttribute(String valueAttributeName)
Set the name of the attribute that will contain the value to which the property should be set.
|
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 . |
public SetPropertyBuilder extractingValueFromAttribute(String valueAttributeName)
valueAttributeName
- Name of the attribute that will contain the value to which the property should be set.protected SetPropertyRule 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.