Class StringFactory

  • All Implemented Interfaces:
    groovy.util.Factory

    public class StringFactory
    extends NamedFactory
    Builds string nodes.
    Since:
    0.7
    Author:
    Jason Dillon
    • Constructor Summary

      Constructors 
      Constructor Description
      StringFactory​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isLeaf()  
      java.lang.Object newInstance​(groovy.util.FactoryBuilderSupport builder, java.lang.Object name, java.lang.Object value, java.util.Map attrs)  
      • Methods inherited from class groovy.util.AbstractFactory

        isHandlesNodeChildren, onFactoryRegistration, onHandleNodeAttributes, onNodeChildren, onNodeCompleted, setChild
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringFactory

        public StringFactory​(java.lang.String name)
    • Method Detail

      • isLeaf

        public boolean isLeaf()
        Specified by:
        isLeaf in interface groovy.util.Factory
        Overrides:
        isLeaf in class groovy.util.AbstractFactory
      • newInstance

        public java.lang.Object newInstance​(groovy.util.FactoryBuilderSupport builder,
                                            java.lang.Object name,
                                            java.lang.Object value,
                                            java.util.Map attrs)