Uses of Class
org.apache.juneau.swap.ObjectSwap
Packages that use ObjectSwap
Package
Description
JSON Schema Data Transfer Objects
- 
Uses of ObjectSwap in org.apache.juneauMethods in org.apache.juneau that return ObjectSwapModifier and TypeMethodDescriptionprotected ObjectSwap<?,?> ClassMeta.getChildObjectSwapForSwap(Class<?> normalClass) Returns theObjectSwapwhere the specified class is the same/subclass of the normal class of one of the child POJO swaps associated with this class.protected ObjectSwap<?,?> ClassMeta.getChildObjectSwapForUnswap(Class<?> swapClass) Returns theObjectSwapwhere the specified class is the same/subclass of the swap class of one of the child POJO swaps associated with this class.ObjectSwap<T,?> ClassMeta.getSwap(BeanSession session) Returns theObjectSwapassociated with this class that's the best match for the specified session.final ObjectSwap<?,?>[] BeanContext.getSwaps()Java object swaps.final ObjectSwap<?,?>[] BeanSession.getSwaps()Java object swaps.
- 
Uses of ObjectSwap in org.apache.juneau.bean.jsonschemaSubclasses of ObjectSwap in org.apache.juneau.bean.jsonschemaModifier and TypeClassDescriptionstatic classUsed during parsing to convert theadditionalItems property to the correct class type.static classUsed during parsing to convert theadditionalProperties property to the correct class type.static classUsed during parsing to convert theitems property to the correct class type.static classUsed during parsing to convert thetype property to the correct class type.
- 
Uses of ObjectSwap in org.apache.juneau.bean.openapi3.uiSubclasses of ObjectSwap in org.apache.juneau.bean.openapi3.uiModifier and TypeClassDescriptionclassGenerates an OpenAPI-UI interface from an OpenAPI document.
- 
Uses of ObjectSwap in org.apache.juneau.bean.swagger.uiSubclasses of ObjectSwap in org.apache.juneau.bean.swagger.uiModifier and TypeClassDescriptionclassGenerates a Swagger-UI interface from a Swagger document.
- 
Uses of ObjectSwap in org.apache.juneau.collectionsMethods in org.apache.juneau.collections with parameters of type ObjectSwapModifier and TypeMethodDescription<T> TJsonMap.getSwapped(String key, ObjectSwap<T, ?> objectSwap) Same asget(), but converts the raw value to the specified class type using the specified POJO swap.
- 
Uses of ObjectSwap in org.apache.juneau.parserMethods in org.apache.juneau.parser with parameters of type ObjectSwapModifier and TypeMethodDescriptionprotected ObjectParserSession.unswap(ObjectSwap swap, Object o, ClassMeta<?> eType) Invokes the specified swap on the specified object.
- 
Uses of ObjectSwap in org.apache.juneau.serializerMethods in org.apache.juneau.serializer with parameters of type ObjectSwapModifier and TypeMethodDescriptionprotected ObjectSerializerSession.swap(ObjectSwap swap, Object o) Invokes the specified swap on the specified object if the swap is not null.
- 
Uses of ObjectSwap in org.apache.juneau.swapSubclasses of ObjectSwap in org.apache.juneau.swapModifier and TypeClassDescriptionclassAutoListSwap<T>A dynamic object swap based on reflection of a Java class that converts objects to Lists.classAutoMapSwap<T>A dynamic object swap based on reflection of a Java class that converts Objects to serializable Maps.classA dynamic object swap based on reflection of a Java class that converts Objects to Number serializable objects.classA dynamic object swap based on reflection of a Java class that converts Objects to serializable objects.classFunctionalSwap<T,S> A subclass ofObjectSwapthat allows swap and unswap methods to be defined as functions.classMapSwap<T>Abstract subclass for object swaps that swap objects for object maps.classStringSwap<T>Abstract subclass for object swaps that swap objects for strings.classSurrogateSwap<T,F> SpecializedObjectSwapforSurrogateclasses.Fields in org.apache.juneau.swap declared as ObjectSwapModifier and TypeFieldDescriptionstatic final ObjectSwapObjectSwap.NULLRepresents a non-existent object swap.Methods in org.apache.juneau.swap that return ObjectSwapModifier and TypeMethodDescriptionstatic ObjectSwap<?,?> AutoListSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoMapSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoNumberSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoObjectSwap.find(BeanContext bc, ClassInfo ci) Inspects the specified class and returns a swap of this type if possible.static ObjectSwap<?,?> Find the default ObjectSwap for the specified class.ObjectSwap<T,?> ObjectSwap.forMediaTypes(MediaType[] mediaTypes) Sets the media types that this swap is associated with.ObjectSwap<T,?> ObjectSwap.withTemplate(String template) Sets the template string on this swap.
- 
Uses of ObjectSwap in org.apache.juneau.swapsSubclasses of ObjectSwap in org.apache.juneau.swapsModifier and TypeClassDescriptionclassTransforms beans intoStringsby simply calling theObject.toString()method.classTransformsbyte []static classConverts byte arrays to BASE-64 encoding.static classConverts byte arrays to hex encoding.static classConverts byte arrays to spaced-hex encoding.classclassTransformsEnumerationstoList<Object>objects.classTransformsInputStreamstoStrings.static classConvertsInputStreamsto BASE-64 encoding.static classConvertsInputStreamsto hex encoding.static classConvertsInputStreamsto spaced-hex encoding.classTransformsIteratorstoList<Object>objects.classclassTransformsMatchResultstoListobjects.classTransforms the contents of aReaderinto anObject.static classReader transform for reading HTML text.static classReader transform for reading JSON text.static classReader transform for reading plain text.static classReader transform for reading plain text.static classReader transform for reading plain text.static classReader transform for reading XML text.classTransformsReaderstoStrings.classTransformsStackTraceElementstoStringobjects.classBuilt-in object swap implementation class for the@Beanp(format)annotation.classSwap that convertsCalendarobjects to and from strings.static classDefault swap toDateTimeFormatter.BASIC_ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_INSTANT.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_LOCAL_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_TIME.static classDefault swap toDateTimeFormatter.ISO_ORDINAL_DATE.static classDefault swap toDateTimeFormatter.ISO_TIME.static classDefault swap toDateTimeFormatter.ISO_WEEK_DATE.static classDefault swap toDateTimeFormatter.ISO_ZONED_DATE_TIME.static classDefault swap toDateTimeFormatter.RFC_1123_DATE_TIME.classSwap that convertsDateobjects to and from strings.static classDefault swap toDateTimeFormatter.BASIC_ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_INSTANT.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_LOCAL_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_TIME.static classDefault swap toDateTimeFormatter.ISO_ORDINAL_DATE.static classDefault swap toDateTimeFormatter.ISO_TIME.static classDefault swap toDateTimeFormatter.ISO_WEEK_DATE.static classDefault swap toDateTimeFormatter.ISO_ZONED_DATE_TIME.static classDefault swap toDateTimeFormatter.RFC_1123_DATE_TIME.classSwap that convertsTemporalobjects to strings.static classDefault swap toDateTimeFormatter.BASIC_ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE.static classDefault swap toDateTimeFormatter.ISO_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_INSTANT.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE.static classDefault swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_LOCAL_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE.static classDefault swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME.static classDefault swap toDateTimeFormatter.ISO_OFFSET_TIME.static classDefault swap toDateTimeFormatter.ISO_ORDINAL_DATE.static classDefault swap toDateTimeFormatter.ISO_TIME.static classDefault swap toDateTimeFormatter.ISO_WEEK_DATE.static classDefault swap toDateTimeFormatter.ISO_WEEK_DATE.static classDefault swap toDateTimeFormatter.ISO_WEEK_DATE.static classDefault swap toDateTimeFormatter.ISO_ZONED_DATE_TIME.static classDefault swap toDateTimeFormatter.RFC_1123_DATE_TIME.classclassclassTransformsXMLGregorianCalendarsto ISO8601 date-timeStrings.class