Annotation Type FactoryCreate

    • Required Element Summary

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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String attributeName
      Allows specify the attribute containing an override class name if it is present.
      java.lang.Class<? extends AbstractObjectCreationFactory<?>> factoryClass
      The Java class of the object creation factory class.
      boolean ignoreCreateExceptions
      When true any exceptions thrown during object creation will be ignored.
      java.lang.String namespaceURI
      The namespace URI for which this Rule is relevant, if any.
    • Element Detail

      • pattern

        java.lang.String pattern
        The element matching pattern.
      • factoryClass

        java.lang.Class<? extends AbstractObjectCreationFactory<?>> factoryClass
        The Java class of the object creation factory class.
        Default:
        org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory.class
      • attributeName

        java.lang.String attributeName
        Allows specify the attribute containing an override class name if it is present.
        Since:
        3.0
        Default:
        ""
      • namespaceURI

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

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