T
- The object type represented by this builderpublic final class ObjectParamBuilder<T> extends Object
LinkedRuleBuilder.objectParam(Object)
.Modifier and Type | Method and Description |
---|---|
protected ObjectParamRule |
createRule()
Provides an instance of
Rule . |
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.
|
ObjectParamBuilder<T> |
matchingAttribute(String attributeName)
The attribute which we are attempting to match.
|
ObjectParamBuilder<T> |
ofIndex(int paramIndex)
The zero-relative index of the parameter we are saving.
|
protected void |
reportError(String methodChain,
String message) |
LinkedRuleBuilder |
then()
Come back to the main
LinkedRuleBuilder . |
public ObjectParamBuilder<T> ofIndex(int paramIndex)
paramIndex
- The zero-relative index of the parameter we are savingpublic ObjectParamBuilder<T> matchingAttribute(String attributeName)
attributeName
- The attribute which we are attempting to matchprotected ObjectParamRule 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.