| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester3.binder.FactoryCreateBuilder
public final class FactoryCreateBuilder
Builder chained when invoking LinkedRuleBuilder.factoryCreate().
| Method Summary | ||
|---|---|---|
protected  FactoryCreateRule | 
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.  | 
|
 FactoryCreateBuilder | 
ignoreCreateExceptions(boolean ignoreCreateExceptions)
Exceptions thrown by the object creation factory will be ignored or not.  | 
|
 FactoryCreateBuilder | 
ofType(Class<? extends ObjectCreationFactory<?>> type)
Construct a factory create rule that will use the specified class to create an ObjectCreationFactory
 which will then be used to create an object and push it on the stack. | 
|
 FactoryCreateBuilder | 
ofType(String className)
Construct a factory create rule that will use the specified class name to create an ObjectCreationFactory
 which will then be used to create an object and push it on the stack. | 
|
 FactoryCreateBuilder | 
overriddenByAttribute(String attributeName)
Allows specify the attribute containing an override class name if it is present.  | 
|
protected  void | 
reportError(String methodChain,
                       String message)
 | 
|
 LinkedRuleBuilder | 
then()
Come back to the main LinkedRuleBuilder. | 
|
 | 
usingFactory(ObjectCreationFactory<T> creationFactory)
Construct a factory create rule using the given, already instantiated, ObjectCreationFactory. | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public FactoryCreateBuilder ofType(String className)
ObjectCreationFactory
 which will then be used to create an object and push it on the stack.
className - Java class name of the object creation factory class
public FactoryCreateBuilder ofType(Class<? extends ObjectCreationFactory<?>> type)
ObjectCreationFactory
 which will then be used to create an object and push it on the stack.
type - Java class of the object creation factory class
public <T> FactoryCreateBuilder usingFactory(ObjectCreationFactory<T> creationFactory)
ObjectCreationFactory.
T - the type of created object by the given factorycreationFactory - called on to create the object
public FactoryCreateBuilder overriddenByAttribute(String attributeName)
attributeName - The attribute containing an override class name if it is present
public FactoryCreateBuilder ignoreCreateExceptions(boolean ignoreCreateExceptions)
ignoreCreateExceptions - if true, exceptions thrown by the object creation factory will be ignored
protected FactoryCreateRule createRule()
Rule. Must never return null.
Rule.get()public final LinkedRuleBuilder then()
LinkedRuleBuilder.
LinkedRuleBuilderpublic 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()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||