Uses of Class
org.apache.juneau.ClassMeta
Packages that use ClassMeta
Package
Description
Marshalling API
JSON Schema Data Transfer Objects
Collections classes
CSV Marshalling Support
Parser Examples
HTML Marshalling Support
RFC2616 HTTP Headers
HTTP Part Marshalling Support
HTTP Part Beans
Internal Utilities
JSON Marshalling Support
JSON-Schema Marshalling Support
MessagePack Marshalling Support
OpenAPI Marshalling Support
Java Object Tools
Parser API
Plaintext Marshalling Support
REST Interface Helper Classes
REST Client API
REST HTTP Parts
Serializer API
SOAP/XML Marshalling Support
Swap API
Predefined Swaps
UON Marshalling Support
URL-Encoding Marshalling Support
XML Marshalling Support
-
Uses of ClassMeta in org.apache.juneau
Methods in org.apache.juneau that return ClassMetaModifier and TypeMethodDescription<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.BeanSession.getArgsClassMeta(Type[] classes) final <T> ClassMeta<T>BeanContext.getClassMeta(Class<T> type) Construct aClassMetawrapper around aClassobject.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 theClassMetaof the wrapped bean.BeanMeta.getClassMeta()Returns theClassMetaof this bean.ClassMeta<?>BeanPropertyMeta.getClassMeta()Returns theClassMetaof 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 aClassMetawrapper around aClassobject.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()TheClassMetaof 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 andCollectiontypes, returns the class type of the components of the array orCollection.ClassMeta<?>ClassMeta.getKeyType()ForMaptypes, 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 anObjectSwapassociated with it.ClassMeta<?>ClassMeta.getValueType()ForMaptypes, returns the class type of the values of theMap.BeanContext.object()Returns a reusableClassMetarepresentation for the classObject .BeanSession.object()Returns a reusableClassMetarepresentation for the classObject .protected final ClassMeta<?>Push the specified object onto the stack.protected final <T> ClassMeta<T>BeanContext.resolveClassMeta(AnnotationInfo<Beanp> p, ClassInfo ci, TypeVariables typeVarImpls) Used for determining the class type on a method or field where a@Beanpannotation may be present.BeanContext.string()Returns a reusableClassMetarepresentation for the classString .BeanSession.string()Returns a reusableClassMetarepresentation for the classString .Methods in org.apache.juneau that return types with arguments of type ClassMetaModifier and TypeMethodDescriptionClassMeta.getArgs()Returns the argument types of this meta.BeanContext.getCmCache()Class metadata cache.Methods in org.apache.juneau with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected final <T> TBeanSession.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> TBeanSession.convertToType(Object value, ClassMeta<T> type) Casts the specified value into the specified type.static <T> org.apache.juneau.BeanMeta.BeanMetaValue<T>Creates aBeanMetainstance for the specified class metadata.final StringBeanSession.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.booleanClassMeta.hasMutaterFrom(ClassMeta<?> c) Returnstrue if this class can be instantiated from the specified type.booleanClassMeta.hasMutaterTo(ClassMeta<?> c) Returnstrue if this class can be transformed to the specified type.protected static final booleanBeanTraverseSession.isOptional(ClassMeta<?> cm) Same asisOptional()but gracefully handles a nullClassMeta.<O> OTransforms the specified object into an instance of this class.protected MapBeanSession.newGenericMap(ClassMeta mapMeta) Creates either anJsonMaporLinkedHashMapdepending on whether the key type is String or something else.protected final ClassMeta<?>Push the specified object onto the stack.BeanPropertyMeta.Builder.rawMetaType(ClassMeta<?> value) Sets the raw metadata type for this bean property.booleanSimilar toequals(Object)except primitive and Object types that are similar are considered the same.protected final voidBeanTraverseSession.setCurrentClass(ClassMeta<?> currentClass) Sets the current class being traversed for proper error messages.protected final ObjectBeanSession.toArray(ClassMeta<?> type, Collection<?> list) Converts the contents of the specified list into an array.protected final booleanBeanTraverseSession.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 lazily-computed, cached property value for thisClassMetainstance.Constructors in org.apache.juneau with parameters of type ClassMetaModifierConstructorDescriptionprotectedConstructor.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 theClassMetaof 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> TCsvParserSession.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> TImageParser.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> THtmlParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) HtmlMetaProvider.getHtmlClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.HtmlParser.getHtmlClassMeta(ClassMeta<?> cm) protected HtmlClassMetaHtmlParserSession.getHtmlClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.HtmlSerializer.getHtmlClassMeta(ClassMeta<?> cm) protected HtmlClassMetaHtmlSerializerSession.getHtmlClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.booleanHtmlSerializerSession.isUri(ClassMeta<?> cm, BeanPropertyMeta pMeta, Object o) Returnstrue if the specified object is a URL.protected XmlSerializerSession.ContentResultHtmlSerializerSession.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.ContentResultHtmlSerializerSession.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 booleanHttpParts.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> TBaseHttpPartParser.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> THttpPartParserSession.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TSimplePartParserSession.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()FilteredKeyMap.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> TJsonParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) JsonMetaProvider.getJsonClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonParser.getJsonClassMeta(ClassMeta<?> cm) protected JsonClassMetaJsonParserSession.getJsonClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonSerializer.getJsonClassMeta(ClassMeta<?> cm) protected JsonClassMetaJsonSerializerSession.getJsonClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.JsonSchemaSerializer.getJsonSchemaClassMeta(ClassMeta<?> cm) protected JsonSchemaClassMetaJsonSchemaSerializerSession.getJsonSchemaClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.protected JsonWriterJsonSerializerSession.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.booleanJsonSchemaGenerator.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> TMsgPackParserSession.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> TOpenApiParserSession.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> TOpenApiParserSession.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 booleanReturnstrue if this matcher can be used on the specified object.booleanbooleanbooleanabstract booleanReturnstrue 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 ObjectParserSession.cast(JsonMap m, BeanPropertyMeta pMeta, ClassMeta<?> eType) Converts the specifiedJsonMap into a bean identified by the"_type" property in the map.protected final <T> TParserSession.convertAttrToType(Object outer, String s, ClassMeta<T> type) Converts the specified string to the specified type.<T> TParser.doParse(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected <T> TParserSession.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> TSame asParser.parse(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> Tfinal <T> TSame asParserSession.parse(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> TSame asParserSession.parse(Object, ClassMeta)except parses from a string and doesn't throw anIOException.protected final voidParserSession.setCurrentClass(ClassMeta<?> currentClass) Sets the current class being parsed for proper error messages.protected static final voidConvenience method for calling the@NamePropertymethod on the specified object if it exists.protected static final voidConvenience method for calling the@ParentPropertymethod on the specified object if it exists.protected ObjectParserSession.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> TPlainTextParserSession.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> TSame asResponseContent.as(Class)except allows you to predefine complex data types using theClassMetaAPI.<T> Optional<T>Converts this header to the specified type.<T> RestResponseSame 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 requestHttpPartParserand 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 wrapsBeanRecursionExceptioninsideSerializeException.Methods in org.apache.juneau.serializer with parameters of type ClassMetaModifier and TypeMethodDescriptionfinal booleanSerializerSession.canIgnoreValue(ClassMeta<?> cm, String attrName, Object value) Returnstrue if the specified value should not be serialized.protected final ObjectSerializerSession.generalize(Object o, ClassMeta<?> type) Generalize the specified object if a POJO swap is associated with it.protected final StringSerializerSession.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 wrapsBeanRecursionExceptioninsideSerializeException. -
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 theClassMetaof the transformed class type.ClassMeta<?>ObjectSwap.getSwapClassMeta(BeanSession session) Returns theClassMetaof 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 InputStreamConvert the specified byte array into an input stream.byte[]ByteArraySwap.Base64.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto a.byte []byte[]ByteArraySwap.Hex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto a.byte []byte[]ByteArraySwap.SpacedHex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto a.byte []Class<?>ClassSwap.unswap(BeanSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.Hex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.SpacedHex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto 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 specifiedStringto 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> TUonParserSession.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> TUonParser.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TUonParserSession.parse(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) <T> TUonParserSession.parseAnything(ClassMeta<?> eType, UonReader r, Object outer, boolean isUrlParamValue, BeanPropertyMeta pMeta) Workhorse method.protected SerializerWriterUonSerializerSession.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> TUrlEncodingParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) UrlEncodingMetaProvider.getUrlEncodingClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.UrlEncodingParser.getUrlEncodingClassMeta(ClassMeta<?> cm) protected UrlEncodingClassMetaUrlEncodingParserSession.getUrlEncodingClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.UrlEncodingSerializer.getUrlEncodingClassMeta(ClassMeta<?> cm) protected UrlEncodingClassMetaUrlEncodingSerializerSession.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> TXmlParserSession.doParse(ParserPipe pipe, ClassMeta<T> type) XmlMetaProvider.getXmlClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.XmlParser.getXmlClassMeta(ClassMeta<?> cm) protected XmlClassMetaXmlParserSession.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> TXmlParserSession.parseAnything(ClassMeta<T> eType, String currAttr, XmlReader r, Object outer, boolean isRoot, BeanPropertyMeta pMeta) Workhorse method.protected XmlSerializerSession.ContentResultXmlSerializerSession.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