Annotation Type FactoryCreate


Classes annotated with FactoryCreate will be bound with FactoryCreateRule digester rule.
Since:
2.1
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Dummy ObjectCreationFactory type - only for annotation value type purposes.
    static @interface 
    Defines several @FactoryCreate annotations on the same element.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The element matching pattern.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Allows specify the attribute containing an override class name if it is present.
    The Java class of the object creation factory class.
    boolean
    When true any exceptions thrown during object creation will be ignored.
    The namespace URI for which this Rule is relevant, if any.
  • Element Details

    • factoryClass

      The Java class of the object creation factory class.
      Default:
      org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory.class
    • attributeName

      Allows specify the attribute containing an override class name if it is present.
      Since:
      3.0
      Default:
      ""
    • pattern

      The element matching pattern.
    • namespaceURI

      The namespace URI for which this Rule is relevant, if any.
      Since:
      3.0
      Default:
      ""
    • ignoreCreateExceptions

      When true any exceptions thrown during object creation will be ignored.
      Default:
      false