Uses of Class
org.apache.juneau.ClassMeta
Packages that use ClassMeta
Package
Description
JSON Schema Data Transfer Objects
CSV Marshalling Support
REST Interface Helper Classes
REST Client API
-
Uses of ClassMeta in org.apache.juneau
Fields in org.apache.juneau declared as ClassMetaModifier and TypeFieldDescriptionBeanMeta.classMeta
The target class type that this meta object describes.Methods in org.apache.juneau that return ClassMetaModifier and TypeMethodDescriptionBeanContext._class()
Returns a reusableClassMeta
representation for the classClass .BeanSession._class()
Returns a reusableClassMeta
representation for the classClass .<A extends Annotation>
ClassMeta<T>ClassMeta.forEachAnnotation
(Class<A> type, Predicate<A> filter, Consumer<A> action) Performs an action on all matching annotations of the specified type defined on this class or parent classes/interfaces in parent-to-child order.ClassMeta<?>
ClassMeta.getArg
(int index) Returns the argument metadata at the specified index if this is an args metadata object.ClassMeta<?>[]
ClassMeta.getArgs()
Returns the argument types of this meta.BeanSession.getArgsClassMeta
(Type[] classes) final <T> ClassMeta<T>
BeanContext.getClassMeta
(Class<T> type) Construct aClassMeta
wrapper around aClass
object.final <T> ClassMeta<T>
BeanContext.getClassMeta
(Type type, Type... args) Used to resolveClassMetas of typeCollection andMap that haveClassMeta values that themselves could be collections or maps.BeanMap.getClassMeta()
Returns theClassMeta
of the wrapped bean.BeanMeta.getClassMeta()
Returns theClassMeta
of this bean.ClassMeta<?>
BeanPropertyMeta.getClassMeta()
Returns theClassMeta
of the class of this property.final ClassMeta<?>
BeanPropertyValue.getClassMeta()
Returns the bean property metadata.ClassMeta<?>
BeanRegistry.getClassMeta
(String typeName) Gets the class metadata for the specified bean type name.final <T> ClassMeta<T>
BeanSession.getClassMeta
(Class<T> c) Returns aClassMeta
wrapper around aClass
object.final <T> ClassMeta<T>
BeanSession.getClassMeta
(Type type, Type... args) Used to resolveClassMetas of typeCollection andMap that haveClassMeta values that themselves could be collections or maps.Delegate.getClassMeta()
TheClassMeta
of the class of the represented object.protected ClassMeta<?>
ExtendedClassMeta.getClassMeta()
Returns the class metadata that was passed into the constructor.final <T> ClassMeta<T>
BeanContext.getClassMetaForObject
(T o) Shortcut for callinggetClassMeta(o.getClass())
.protected final ClassMeta<?>
BeanSession.getClassMetaForObject
(Object o, ClassMeta<?> def) Shortcut for callinggetClassMeta(o.getClass())
but returns a default value if object isnull .final <T> ClassMeta<T>
BeanSession.getClassMetaForObject
(T o) Shortcut for callinggetClassMeta(o.getClass())
.ClassMeta<?>
ClassMeta.getElementType()
For array andCollection
types, returns the class type of the components of the array orCollection
.ClassMeta<?>
ClassMeta.getKeyType()
ForMap
types, returns the class type of the keys of theMap
.protected final ClassMeta<?>
BeanTraverseSession.getOptionalType
(ClassMeta<?> cm) Returns the inner type of anOptional
.ClassMeta<?>
ClassMeta.getSerializedClassMeta
(BeanSession session) Returns the serialized (swapped) form of this class if there is anObjectSwap
associated with it.ClassMeta<?>
ClassMeta.getValueType()
ForMap
types, returns the class type of the values of theMap
.BeanContext.object()
Returns a reusableClassMeta
representation for the classObject .BeanSession.object()
Returns a reusableClassMeta
representation for the classObject .protected final ClassMeta<?>
Push the specified object onto the stack.protected final <T> ClassMeta<T>
Used for determining the class type on a method or field where a@Beanp
annotation may be present.BeanContext.string()
Returns a reusableClassMeta
representation for the classString .BeanSession.string()
Returns a reusableClassMeta
representation for the classString .Methods in org.apache.juneau with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected final <T> T
BeanSession.convertToMemberType
(Object outer, Object value, ClassMeta<T> to) Same asBeanSession.convertToType(Object, ClassMeta)
, except used for instantiating inner member classes that must be instantiated within another class instance.final <T> T
BeanSession.convertToType
(Object value, ClassMeta<T> type) Casts the specified value into the specified type.final String
BeanSession.getBeanTypePropertyName
(ClassMeta cm) Returns the type property name as defined byBeanContext.Builder.typePropertyName(String)
.protected final ClassMeta<?>
BeanSession.getClassMetaForObject
(Object o, ClassMeta<?> def) Shortcut for callinggetClassMeta(o.getClass())
but returns a default value if object isnull .protected final ClassMeta<?>
BeanTraverseSession.getOptionalType
(ClassMeta<?> cm) Returns the inner type of anOptional
.BeanRegistry.getTypeName
(ClassMeta<?> c) Given the specified class, return the dictionary name for it.boolean
ClassMeta.hasMutaterFrom
(ClassMeta<?> c) Returnstrue if this class can be instantiated from the specified type.boolean
ClassMeta.hasMutaterTo
(ClassMeta<?> c) Returnstrue if this class can be transformed to the specified type.protected final boolean
BeanTraverseSession.isOptional
(ClassMeta<?> cm) Same asisOptional()
but gracefully handles a nullClassMeta
.<O> O
Transforms the specified object into an instance of this class.protected Map
BeanSession.newGenericMap
(ClassMeta mapMeta) Creates either anJsonMap
orLinkedHashMap
depending on whether the key type is String or something else.protected final ClassMeta<?>
Push the specified object onto the stack.BeanPropertyMeta.Builder.rawMetaType
(ClassMeta<?> rawMetaType) Sets the raw metadata type for this bean property.boolean
Similar toequals(Object)
except primitive and Object types that are similar are considered the same.protected final void
BeanTraverseSession.setCurrentClass
(ClassMeta<?> currentClass) Sets the current class being traversed for proper error messages.protected final Object
BeanSession.toArray
(ClassMeta<?> type, Collection<?> list) Converts the contents of the specified list into an array.protected final boolean
BeanTraverseSession.willRecurse
(String attrName, Object o, ClassMeta<?> cm) Returnstrue ifBeanTraverseContext.Builder.detectRecursions()
is enabled, and the specified object is already higher up in the traversal chain.Method parameters in org.apache.juneau with type arguments of type ClassMetaModifier and TypeMethodDescription<T2> Optional<T2>
ClassMeta.getProperty
(String name, Function<ClassMeta<?>, T2> function) Returns a calculated property on this context.Constructors in org.apache.juneau with parameters of type ClassMetaModifierConstructorDescriptionprotected
BeanMeta
(ClassMeta<T> classMeta, BeanContext ctx, BeanFilter beanFilter, String[] pNames, ConstructorInfo implClassConstructor) Constructor.ExtendedClassMeta
(ClassMeta<?> cm) Constructor.InvalidDataConversionException
(Object value, ClassMeta<?> toType, Exception cause) -
Uses of ClassMeta in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema with parameters of type ClassMetaModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.BooleanOrSchemaSwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonSchemaOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonTypeOrJsonTypeArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) -
Uses of ClassMeta in org.apache.juneau.collections
Methods in org.apache.juneau.collections that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>
JsonList.getClassMeta
(int index) Returns theClassMeta
of the class of the object at the specified index.ClassMeta<?>
JsonMap.getClassMeta
(String key) Returns the class type of the object at the specified index.Methods in org.apache.juneau.collections with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.csv
Methods in org.apache.juneau.csv with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
CsvParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) CsvMetaProvider.getCsvClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.CsvParser.getCsvClassMeta
(ClassMeta<?> cm) CsvSerializer.getCsvClassMeta
(ClassMeta<?> cm) Constructors in org.apache.juneau.csv with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.examples.parser
Methods in org.apache.juneau.examples.parser with parameters of type ClassMetaModifier and TypeMethodDescription<T> T
ImageParser.doParse
(ParserSession session, ParserPipe pipe, ClassMeta<T> type) -
Uses of ClassMeta in org.apache.juneau.html
Methods in org.apache.juneau.html with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
HtmlParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) HtmlMetaProvider.getHtmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.HtmlParser.getHtmlClassMeta
(ClassMeta<?> cm) protected HtmlClassMeta
HtmlParserSession.getHtmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.HtmlSerializer.getHtmlClassMeta
(ClassMeta<?> cm) protected HtmlClassMeta
HtmlSerializerSession.getHtmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.boolean
HtmlSerializerSession.isUri
(ClassMeta<?> cm, BeanPropertyMeta pMeta, Object o) Returnstrue if the specified object is a URL.protected XmlSerializerSession.ContentResult
HtmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String keyName, String elementName, Namespace elementNamespace, boolean addNamespaceUris, XmlFormat format, boolean isMixed, boolean preserveWhitespace, BeanPropertyMeta pMeta) protected XmlSerializerSession.ContentResult
HtmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String name, BeanPropertyMeta pMeta, int xIndent, boolean isRoot, boolean nlIfElement) Serialize the specified object to the specified writer.Constructors in org.apache.juneau.html with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.http
Methods in org.apache.juneau.http with parameters of type ClassMetaModifier and TypeMethodDescriptionstatic Optional<ConstructorInfo>
HttpParts.getConstructor
(ClassMeta<?> type) Returns the constructor for the specified type.HttpParts.getName
(HttpPartType partType, ClassMeta<?> type) Returns the name of the specified part type.static boolean
HttpParts.isHttpPart
(HttpPartType partType, ClassMeta<?> type) Returnstrue if the specified type is a part type. -
Uses of ClassMeta in org.apache.juneau.httppart
Methods in org.apache.juneau.httppart that return ClassMetaModifier and TypeMethodDescription<T> ClassMeta<T>
BaseHttpPartParser.getClassMeta
(Class<T> c) <T> ClassMeta<T>
BaseHttpPartParser.getClassMeta
(Type t, Type... args) <T> ClassMeta<T>
HttpPartParser.getClassMeta
(Class<T> c) Returns metadata about the specified class.<T> ClassMeta<T>
HttpPartParser.getClassMeta
(Type t, Type... args) Returns metadata about the specified class.ClassMeta<?>
HttpPartSchema.getParsedType()
Returns the default parsed type for this schema.Methods in org.apache.juneau.httppart with parameters of type ClassMetaModifier and TypeMethodDescriptionReturns theformat field of this schema.Returns thetype field of this schema.<T> T
BaseHttpPartParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
HttpPartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
SimplePartParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) -
Uses of ClassMeta in org.apache.juneau.httppart.bean
Methods in org.apache.juneau.httppart.bean that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>
RequestBeanMeta.getClassMeta()
Returns metadata about the class.ClassMeta<?>
ResponseBeanMeta.getClassMeta()
Returns metadata about the class. -
Uses of ClassMeta in org.apache.juneau.internal
Methods in org.apache.juneau.internal that return ClassMetaModifier and TypeMethodDescriptionDelegateList.getClassMeta()
DelegateMap.getClassMeta()
FilteredMap.getClassMeta()
Constructors in org.apache.juneau.internal with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.json
Methods in org.apache.juneau.json with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
JsonParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) JsonMetaProvider.getJsonClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonParser.getJsonClassMeta
(ClassMeta<?> cm) protected JsonClassMeta
JsonParserSession.getJsonClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonSerializer.getJsonClassMeta
(ClassMeta<?> cm) protected JsonClassMeta
JsonSerializerSession.getJsonClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonSchemaSerializer.getJsonSchemaClassMeta
(ClassMeta<?> cm) protected JsonSchemaClassMeta
JsonSchemaSerializerSession.getJsonSchemaClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.protected JsonWriter
JsonSerializerSession.serializeAnything
(JsonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method.Constructors in org.apache.juneau.json with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.jsonschema
Methods in org.apache.juneau.jsonschema with parameters of type ClassMetaModifier and TypeMethodDescriptionJsonSchemaGeneratorSession.getBeanDefId
(ClassMeta<?> cm) Returns the definition ID for the specified class.JsonSchemaGeneratorSession.getBeanDefUri
(ClassMeta<?> cm) Returns the definition URI for the specified class.Returns the ID for the specified class.JsonSchemaGenerator.getJsonSchemaClassMeta
(ClassMeta<?> cm) JsonSchemaGeneratorSession.getJsonSchemaClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonSchemaMetaProvider.getJsonSchemaClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.Returns the JSON-schema for the specified type.Returns the URI for the specified class.boolean
JsonSchemaGenerator.isIgnoredType
(ClassMeta<?> cm) Returnstrue if the specified type is ignored.Constructors in org.apache.juneau.jsonschema with parameters of type ClassMetaModifierConstructorDescriptionJsonSchemaClassMeta
(ClassMeta<?> cm, JsonSchemaMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
MsgPackParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) MsgPackMetaProvider.getMsgPackClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.MsgPackParser.getMsgPackClassMeta
(ClassMeta<?> cm) MsgPackSerializer.getMsgPackClassMeta
(ClassMeta<?> cm) Constructors in org.apache.juneau.msgpack with parameters of type ClassMetaModifierConstructorDescriptionMsgPackClassMeta
(ClassMeta<?> cm, MsgPackMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.oapi
Methods in org.apache.juneau.oapi with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
OpenApiParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) OpenApiMetaProvider.getOpenApiClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.OpenApiParser.getOpenApiClassMeta
(ClassMeta<?> cm) OpenApiSerializer.getOpenApiClassMeta
(ClassMeta<?> cm) <T> T
OpenApiParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> type) Constructors in org.apache.juneau.oapi with parameters of type ClassMetaModifierConstructorDescriptionOpenApiClassMeta
(ClassMeta<?> cm, OpenApiMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.objecttools
Methods in org.apache.juneau.objecttools that return ClassMetaModifier and TypeMethodDescriptionObjectRest.getClassMeta
(String url) Returns the class type of the object at the specified URL.Methods in org.apache.juneau.objecttools with parameters of type ClassMetaModifier and TypeMethodDescriptionabstract boolean
Returnstrue if this matcher can be used on the specified object.boolean
boolean
boolean
abstract boolean
Returnstrue if this matcher matches the specified object.. -
Uses of ClassMeta in org.apache.juneau.parser
Methods in org.apache.juneau.parser that return ClassMetaModifier and TypeMethodDescriptionprotected final ClassMeta<?>
ParserSession.getClassMeta
(String typeName, BeanPropertyMeta pMeta, ClassMeta<?> eType) Give the specified dictionary name, resolve it to a class.Methods in org.apache.juneau.parser with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected final Object
ParserSession.cast
(JsonMap m, BeanPropertyMeta pMeta, ClassMeta<?> eType) Converts the specifiedJsonMap into a bean identified by the"_type" property in the map.protected final <T> T
ParserSession.convertAttrToType
(Object outer, String s, ClassMeta<T> type) Converts the specified string to the specified type.<T> T
Parser.doParse
(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected <T> T
ParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected final ClassMeta<?>
ParserSession.getClassMeta
(String typeName, BeanPropertyMeta pMeta, ClassMeta<?> eType) Give the specified dictionary name, resolve it to a class.final <T> T
Same asParser.parse(Object, Type, Type...)
except the type has already been converted into aClassMeta
object.final <T> T
final <T> T
Same asParserSession.parse(Object, Type, Type...)
except the type has already been converted into aClassMeta
object.final <T> T
Same asParserSession.parse(Object, ClassMeta)
except parses from a string and doesn't throw anIOException
.protected final void
ParserSession.setCurrentClass
(ClassMeta<?> currentClass) Sets the current class being parsed for proper error messages.protected static final void
Convenience method for calling the@NameProperty
method on the specified object if it exists.protected static final void
Convenience method for calling the@ParentProperty
method on the specified object if it exists.protected Object
ParserSession.unswap
(ObjectSwap swap, Object o, ClassMeta<?> eType) Invokes the specified swap on the specified object. -
Uses of ClassMeta in org.apache.juneau.plaintext
Methods in org.apache.juneau.plaintext with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
PlainTextParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) PlainTextMetaProvider.getPlainTextClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.PlainTextParser.getPlainTextClassMeta
(ClassMeta<?> cm) PlainTextSerializer.getPlainTextClassMeta
(ClassMeta<?> cm) Constructors in org.apache.juneau.plaintext with parameters of type ClassMetaModifierConstructorDescriptionPlainTextClassMeta
(ClassMeta<?> cm, PlainTextMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.rest.beans
Constructors in org.apache.juneau.rest.beans with parameters of type ClassMetaModifierConstructorDescriptionBeanPropertyDescription
(String name, ClassMeta<?> type) Constructor. -
Uses of ClassMeta in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client with parameters of type ClassMetaModifier and TypeMethodDescription<T> T
Same asResponseContent.as(Class)
except allows you to predefine complex data types using theClassMeta
API.<T> Optional<T>
Converts this header to the specified type.<T> RestResponse
Same asResponseHeader.as(ClassMeta)
but sets the value in a mutable for fluent calls.<T> Future<T>
Same asResponseContent.as(ClassMeta)
but allows you to run the call asynchronously. -
Uses of ClassMeta in org.apache.juneau.rest.httppart
Methods in org.apache.juneau.rest.httppart with parameters of type ClassMetaModifier and TypeMethodDescription<T> Optional<T>
Converts this part to the specified POJO type using the requestHttpPartParser
and optional schema. -
Uses of ClassMeta in org.apache.juneau.serializer
Methods in org.apache.juneau.serializer that return ClassMetaModifier and TypeMethodDescriptionprotected final ClassMeta<?>
SerializerSession.getExpectedRootType
(Object o) Returns the parser-side expected type for the object.protected final ClassMeta<?>
Same asBeanTraverseSession.push(String, Object, ClassMeta)
but wrapsBeanRecursionException
insideSerializeException
.Methods in org.apache.juneau.serializer with parameters of type ClassMetaModifier and TypeMethodDescriptionfinal boolean
SerializerSession.canIgnoreValue
(ClassMeta<?> cm, String attrName, Object value) Returnstrue if the specified value should not be serialized.protected final Object
SerializerSession.generalize
(Object o, ClassMeta<?> type) Generalize the specified object if a POJO swap is associated with it.protected final String
SerializerSession.getBeanTypeName
(SerializerSession session, ClassMeta<?> eType, ClassMeta<?> aType, BeanPropertyMeta pMeta) Resolves the dictionary name for the actual type.protected final ClassMeta<?>
Same asBeanTraverseSession.push(String, Object, ClassMeta)
but wrapsBeanRecursionException
insideSerializeException
. -
Uses of ClassMeta in org.apache.juneau.soap
Methods in org.apache.juneau.soap with parameters of type ClassMetaModifier and TypeMethodDescriptionSoapXmlMetaProvider.getSoapXmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.SoapXmlSerializer.getSoapXmlClassMeta
(ClassMeta<?> cm) Constructors in org.apache.juneau.soap with parameters of type ClassMetaModifierConstructorDescriptionSoapXmlClassMeta
(ClassMeta<?> cm, SoapXmlMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.swap
Methods in org.apache.juneau.swap that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>
BuilderSwap.getBuilderClassMeta
(BeanSession session) Returns theClassMeta
of the transformed class type.ClassMeta<?>
ObjectSwap.getSwapClassMeta
(BeanSession session) Returns theClassMeta
of the transformed class type.Methods in org.apache.juneau.swap with parameters of type ClassMetaModifier and TypeMethodDescriptionBuilderSwap.build
(BeanSession session, B builder, ClassMeta<?> hint) Creates a new object from the specified builder.BuilderSwap.create
(BeanSession session, ClassMeta<?> hint) Creates a new builder object.AutoListSwap.unswap
(BeanSession session, List<?> o, ClassMeta<?> hint) AutoMapSwap.unswap
(BeanSession session, Map<?, ?> o, ClassMeta<?> hint) AutoNumberSwap.unswap
(BeanSession session, Number o, ClassMeta<?> hint) AutoObjectSwap.unswap
(BeanSession session, Object f, ClassMeta<?> hint) FunctionalSwap.unswap
(BeanSession session, S f, ClassMeta<?> hint, String template) MapSwap.unswap
(BeanSession session, JsonMap f, ClassMeta<?> hint) ObjectSwap.unswap
(BeanSession session, S f, ClassMeta<?> hint) If this transform is to be used to reconstitute objects that aren't true Java beans, it must implement this method.ObjectSwap.unswap
(BeanSession session, S f, ClassMeta<?> hint, String template) Same asObjectSwap.unswap(BeanSession, Object, ClassMeta)
, but can be used if your swap has a template associated with it.StringSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) SurrogateSwap.unswap
(BeanSession session, F f, ClassMeta<?> hint) -
Uses of ClassMeta in org.apache.juneau.swaps
Methods in org.apache.juneau.swaps with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected InputStream
Convert the specified byte array into an input stream.byte[]
ByteArraySwap.Base64.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []byte[]
ByteArraySwap.Hex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []byte[]
ByteArraySwap.SpacedHex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []Class<?>
ClassSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.InputStreamSwap.Hex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.InputStreamSwap.SpacedHex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.LocaleSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) StackTraceElementSwap.unswap
(BeanSession session, String in, ClassMeta<?> hint) StringFormatSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalCalendarSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalDateSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TimeZoneSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) UrlSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) XMLGregorianCalendarSwap.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anXMLGregorianCalendar .ZoneIdSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) -
Uses of ClassMeta in org.apache.juneau.uon
Methods in org.apache.juneau.uon that return ClassMetaModifier and TypeMethodDescription<T> ClassMeta<T>
UonParser.getClassMeta
(Class<T> c) <T> ClassMeta<T>
UonParser.getClassMeta
(Type t, Type... args) Methods in org.apache.juneau.uon with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
UonParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) UonMetaProvider.getUonClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.UonParser.getUonClassMeta
(ClassMeta<?> cm) UonSerializer.getUonClassMeta
(ClassMeta<?> cm) <T> T
UonParser.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> T
UonParserSession.parse
(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) <T> T
UonParserSession.parseAnything
(ClassMeta<?> eType, UonReader r, Object outer, boolean isUrlParamValue, BeanPropertyMeta pMeta) Workhorse method.protected SerializerWriter
UonSerializerSession.serializeAnything
(UonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method.Constructors in org.apache.juneau.uon with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
UrlEncodingParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) UrlEncodingMetaProvider.getUrlEncodingClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.UrlEncodingParser.getUrlEncodingClassMeta
(ClassMeta<?> cm) protected UrlEncodingClassMeta
UrlEncodingParserSession.getUrlEncodingClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.UrlEncodingSerializer.getUrlEncodingClassMeta
(ClassMeta<?> cm) protected UrlEncodingClassMeta
UrlEncodingSerializerSession.getUrlEncodingClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.Constructors in org.apache.juneau.urlencoding with parameters of type ClassMetaModifierConstructorDescriptionUrlEncodingClassMeta
(ClassMeta<?> cm, UrlEncodingMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.xml
Methods in org.apache.juneau.xml with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> T
XmlParserSession.doParse
(ParserPipe pipe, ClassMeta<T> type) XmlMetaProvider.getXmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.XmlParser.getXmlClassMeta
(ClassMeta<?> cm) protected XmlClassMeta
XmlParserSession.getXmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.XmlSerializer.getXmlClassMeta
(ClassMeta<?> cm) XmlSerializerSession.getXmlClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.protected <T> T
XmlParserSession.parseAnything
(ClassMeta<T> eType, String currAttr, XmlReader r, Object outer, boolean isRoot, BeanPropertyMeta pMeta) Workhorse method.protected XmlSerializerSession.ContentResult
XmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String keyName, String elementName, Namespace elementNamespace, boolean addNamespaceUris, XmlFormat format, boolean isMixedOrText, boolean preserveWhitespace, BeanPropertyMeta pMeta) Workhorse method.Constructors in org.apache.juneau.xml with parameters of type ClassMeta