If not already created, a new <code>convert</code> element will be created and returned.
Otherwise, the first existing <code>convert</code> element will be returned.
@return the instance defined for the element <code>convert</code>
485337
public Convert<Embedded<T>> getOrCreateConvert()
   {
      List<Node> nodeList = childNode.get("convert");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ConvertImpl<Embedded<T>>(this, "convert", childNode, nodeList.get(0));
      }
      return createConvert();
   }
258099
public EjbLocalRefType<WebFragmentDescriptor> getOrCreateEjbLocalRef()
   {
      List<Node> nodeList = model.get("ejb-local-ref");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new EjbLocalRefTypeImpl<WebFragmentDescriptor>(this, "ejb-local-ref", model, nodeList.get(0));
      }
      return createEjbLocalRef();
   }
657889
public FacesConfigConverterType<FacesConfigType<T>> getOrCreateConverter()
   {
      List<Node> nodeList = childNode.get("converter");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new FacesConfigConverterTypeImpl<FacesConfigType<T>>(this, "converter", childNode, nodeList.get(0));
      }
      return createConverter();
   }
476558
@Override
  public <S, T> Convert<S, T> converter(Class<S> source, Class<T> target)
  {
    ConvertFrom<S> convertType = getOrCreate(source);
    
    return convertType.converter(target);
  }
1273225
protected Converter createConverter(FaceletContext ctx)
    {
        if (_delegate.getConverterId(ctx) == null)
        {
            throw new TagException(_delegate.getTag(),
                                    "Default behavior invoked of requiring a converter-id passed in the "
                                    + "constructor, must override ConvertHandler(ConverterConfig)");
        }
        return ctx.getFacesContext().getApplication().createConverter(_delegate.getConverterId(ctx));
    }
695395
protected T createInstance() {
        try {
            Constructor<T> ctor = clazz.getDeclaredConstructor();
            ctor.setAccessible(true);
            return ctor.newInstance();
        } catch (InstantiationException e) {
            throw new RuntimeException(e);
        } catch (IllegalAccessException e) {
            throw new RuntimeException(e);
        } catch (SecurityException e) {
            throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
            throw new RuntimeException(e);
        } catch (IllegalArgumentException e) {
            throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
            throw new RuntimeException(e);
        }
    }
702235
public PartialResponseDeleteType<PartialResponseChangesType<T>> getOrCreateDelete()
   {
      List<Node> nodeList = childNode.get("delete");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new PartialResponseDeleteTypeImpl<PartialResponseChangesType<T>>(this, "delete", childNode, nodeList.get(0));
      }
      return createDelete();
   }
1105373
public ElementType get() {
        if (empty()) throw new IllegalArgumentException("Empty queue");

        ElementType x = (ElementType) elements[getIdx];
        getIdx = (getIdx + 1) % elements.length;
        size--;
        return x;
    }
276098
public static Transform getInstance(Element e, String initial) {
    Transform t = GQuery.data(e, TRANSFORM);
    if (t == null || initial != null) {
      if (initial == null) {
        initial = GQuery.getSelectorEngine().getDocumentStyleImpl().curCSS(e, transform, false);
      }
      t = new Transform(initial);
      GQuery.data(e, TRANSFORM, t);
    }
    return t;
  }
6323
public static StringValueConverterImpl getInstance() {

    if (instance == null) {
      synchronized (StringValueConverterImpl.class) {
        if (instance == null) {
          StringValueConverterImpl converter = new StringValueConverterImpl();
          converter.initialize();
          instance = converter;
        }
      }
    }
    return instance;
  }
816787
public CodeBlock getInstance() {
        return CodeBlock.builder()
                .add( "new $T() {\n", ClassName.get( getMainClass() ) )
                .indent()
                .add( buildCreateMethod( getKeyClass(), key.getInstance() ) )
                .add( "\n" )
                .add( buildCreateMethod( getJsonClass(), json.getInstance() ) )
                .unindent()
                .add( "}" )
                .build();

    }
76841
public Converter getNextConverter()
    {
        BaseTable currentTable = m_MergeRecord.getTable().getCurrentTable();
        if (currentTable == null)
            return null;
        if (m_FieldSeq != -1)
        {
            if (m_strLinkedRecord == null)
                return currentTable.getRecord().getField(m_FieldSeq); // Get the current field
            else
                return currentTable.getRecord().getField(m_strLinkedRecord, m_FieldSeq);    // Get the current field
        }
        else
        {
            for (int index = 0; index < m_vArray.size(); index++)
            {
                InfoList infoList = (InfoList)m_vArray.elementAt(index);
                Record pQueryTable = currentTable.getRecord().getRecord(infoList.m_strFileName);
                if (pQueryTable != null)
                {
                    String strLinkFileName = infoList.m_strLinkFileName;
                    int iFieldSeq = infoList.m_iFieldSeq;
                    Converter field = infoList.m_converter;
                    if (field != null)
                        return field;
                    if (strLinkFileName != null)
                        return currentTable.getRecord().getField(strLinkFileName, iFieldSeq);
                    return pQueryTable.getField(iFieldSeq);
                }
            }
        }
        return null;
    }
1348406
public Convert<ElementCollection<T>> getOrCreateMapKeyConvert()
   {
      List<Node> nodeList = childNode.get("map-key-convert");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ConvertImpl<ElementCollection<T>>(this, "map-key-convert", childNode, nodeList.get(0));
      }
      return createMapKeyConvert();
   }
660734
public EjbLocalRefType<WebFragmentType<T>> getOrCreateEjbLocalRef()
   {
      List<Node> nodeList = childNode.get("ejb-local-ref");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new EjbLocalRefTypeImpl<WebFragmentType<T>>(this, "ejb-local-ref", childNode, nodeList.get(0));
      }
      return createEjbLocalRef();
   }
1335647
public Object getNextElement() {
        Object element = null;
        while (currentIndex+1 < endIndex && element == null) {
            currentIndex++;
            element = getElement();
        }
        return element;      
    }
669713
public T nextElement() {
        T rc = null;
        if (null == this.myIterator) {
            rc = this.singleton;
            this.singleton = null;
        } else {
            rc = this.myIterator.next();
        }
        return rc;
    }
107564
public Converter<OrmDescriptor> getOrCreateConverter()
   {
      List<Node> nodeList = model.get("converter");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ConverterImpl<OrmDescriptor>(this, "converter", model, nodeList.get(0));
      }
      return createConverter();
   }