Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 298 for Converter (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        /**
         * Parses a sequence of XML elements and converts them to the given target type.
         *
         * @param parser The XML parser
         * @param toType The target type
         * @return Converted instance of the target type
         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/PropertyDesc.java

        /**
         * Converts the value to the appropriate type if necessary based on the property type.
         *
         * @param <T>
         *            the converted type
         * @param value
         *            the value to be converted
         * @return the converted value
         */
        <T> T convertIfNeed(Object value);
    
        /**
         * Returns the {@link BeanDesc}.
         *
         * @return the {@link BeanDesc}
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         * @return The converted {@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o) {
            return toBigInteger(o, null);
        }
    
        /**
         * Converts to {@link BigInteger}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link BigInteger}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

         *
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
         * @return the converted QueryBuilder
         */
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

         * @return The converted {@link Calendar}
         */
        public static Calendar toCalendar(final Object o) {
            return toCalendar(o, null);
        }
    
        /**
         * Converts to {@link Calendar}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Calendar}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

         *            The object to convert
         * @return The converted {@link Float}
         */
        public static Float toFloat(final Object o) {
            return toFloat(o, null);
        }
    
        /**
         * Converts to {@link Float}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Float}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         * @return The converted {@literal String}
         */
        public static String toString(final Object value) {
            return toString(value, null);
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@literal String}
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/response-directly.md

    Par exemple, vous ne pouvez pas mettre un modèle Pydantic dans une `JSONResponse` sans d'abord le convertir en un `dict` avec tous les types de données (comme `datetime`, `UUID`, etc.) convertis en types compatibles JSON.
    
    Pour ces cas, vous pouvez utiliser le `jsonable_encoder` pour convertir vos données avant de les passer à une réponse :
    
    {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/dataclasses.md

    Así que, incluso con el código anterior que no usa Pydantic explícitamente, FastAPI está usando Pydantic para convertir esos dataclasses estándar en su propia versión de dataclasses de Pydantic.
    
    Y por supuesto, soporta lo mismo:
    
    * validación de datos
    * serialización de datos
    * documentación de datos, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/response-change-status-code.md

    Pero si los datos no existieran, quieres crearlos y devolver un código de estado HTTP de "CREATED" `201`.
    
    Pero todavía quieres poder filtrar y convertir los datos que devuelves con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usa un parámetro `Response` { #use-a-response-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top