Uses of Class
org.apache.juneau.marshall.ClassMeta
Packages that use ClassMeta
Package
Description
Juneau
@Marshalled types for the
HAL (Hypertext Application Language)
hypermedia format, also covered by
draft-kelly-json-hal-08.Juneau
@Marshalled types for the
JSON:API v1.1 wire format.JSON Schema Data Transfer Objects
Parser Examples
HTTP Part Annotations
Predefined HTTP headers, parts, entities, resources, and responses built on the classic Apache HttpComponents API.
HTTP Part Beans
Marshalling API
BSON (Binary JSON) marshalling support.
CBOR (Concise Binary Object Representation) marshalling support per RFC 8949.
Collections classes.
CSV Marshalling Support
Hjson (Human JSON) format serializer and parser for Apache Juneau.
HOCON (Human-Optimized Config Object Notation) format serializer and parser for Apache Juneau.
HTML Marshalling Support
HTTP Part Marshalling Support
INI format serializer and parser for Apache Juneau.
Internal Utilities
JCS (JSON Canonicalization Scheme) Marshalling Support.
RDF Marshalling Support
JSON Marshalling Support.
JSON5 Marshalling Support.
JSON5L (JSON5 Lines) marshalling support.
JSONL (JSON Lines) marshalling support.
JSON-Schema Marshalling Support
Markdown serializer and parser support for Apache Juneau.
MessagePack Marshalling Support
OpenAPI Marshalling Support
Java Object Tools
Apache Parquet serialization and parsing support.
Parser API
Plaintext Marshalling Support
Serializer API
SOAP/XML Marshalling Support
Server-Sent Events (SSE) marshalling support —
text/event-stream.Public low-level token-streaming API (pull parser + push generator) shared by every Juneau
format.
Swap API
Predefined Swaps
TOML v1.0.0 serializer and parser for Apache Juneau.
UON Marshalling Support
URL-Encoding Marshalling Support
URL-Encoding Annotations
XML Marshalling Support
YAML Marshalling Support
Petstore-local marshalling support.
REST Client API
REST Interface Helper Classes
REST HTTP Parts
-
Uses of ClassMeta in org.apache.juneau.bean.hal
Methods in org.apache.juneau.bean.hal with parameters of type ClassMetaModifier and TypeMethodDescriptionHalLinkOrArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) HalResourceOrArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
Uses of ClassMeta in org.apache.juneau.bean.jsonapi
Methods in org.apache.juneau.bean.jsonapi with parameters of type ClassMetaModifier and TypeMethodDescriptionJsonApiLinkOrStringSwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
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(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.BooleanOrSchemaSwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonSchemaOrSchemaArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonTypeOrJsonTypeArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
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.doRead(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method. -
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(String)or(String,String)public constructor for the specified type.HttpParts.getName(HttpPartType partType, ClassMeta<?> type) Returns the name of the specified part type by reading the@Header,@Query,@FormData, or@Pathannotation on the class.static booleanHttpParts.isHttpPart(HttpPartType partType, ClassMeta<?> type) Returnstrue if the specified type is a transport-neutral part type for the givenHttpPartType. -
Uses of ClassMeta in org.apache.juneau.http.classic
Methods in org.apache.juneau.http.classic 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.bean
Methods in org.apache.juneau.httppart.bean that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>RequestBeanMeta.getBeanInfo()Returns metadata about the class.ClassMeta<?>ResponseBeanMeta.getBeanInfo()Returns metadata about the class. -
Uses of ClassMeta in org.apache.juneau.marshall
Methods in org.apache.juneau.marshall 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.MarshallingSession.getArgsClassMeta(Type[] classes) protected ClassMeta<?>ExtendedClassMeta.getBeanInfo()Returns the class metadata that was passed into the constructor.ClassMeta<?>BeanRegistry.getClassMeta(String typeName) Gets the class metadata for the specified bean type name.final <T> ClassMeta<T>MarshallingContext.getClassMeta(Class<T> type) Construct aClassMetawrapper around aClassobject.final <T> ClassMeta<T>MarshallingContext.getClassMeta(Type type, Type... args) Used to resolveClassMetas of typeCollection andMap that haveClassMeta values that themselves could be collections or maps.final <T> ClassMeta<T>MarshallingSession.getClassMeta(Class<T> c) Returns aClassMetawrapper around aClassobject.final <T> ClassMeta<T>MarshallingSession.getClassMeta(Type type, Type... args) Used to resolveClassMetas of typeCollection andMap that haveClassMeta values that themselves could be collections or maps.final <T> ClassMeta<T>MarshallingContext.getClassMetaForObject(T o) Returns theClassMetafor the object's class, unwrapping recognized proxies first.protected final ClassMeta<?>MarshallingSession.getClassMetaForObject(Object o, ClassMeta<?> def) Returns theClassMetafor the object's class, unwrapping recognized proxies first.final <T> ClassMeta<T>MarshallingSession.getClassMetaForObject(T o) Returns theClassMetafor the object's class, unwrapping recognized proxies first.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<?>MarshallingTraverseSession.getOptionalType(ClassMeta<?> cm) Returns the inner type of anOptional.ClassMeta<?>ClassMeta.getSerializedClassMeta(MarshallingSession 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.MarshallingContext.object()Returns a reusableClassMetarepresentation for the classObject .MarshallingSession.object()Returns a reusableClassMetarepresentation for the classObject .protected final ClassMeta<?>Push the specified object onto the stack.protected final <T> ClassMeta<T>MarshallingContext.resolveClassMeta(AnnotationInfo<BeanProp> p, ClassInfo ci, TypeVariables typeVarImpls) Used for determining the class type on a method or field where a@BeanPropannotation may be present.MarshallingContext.string()Returns a reusableClassMetarepresentation for the classString .MarshallingSession.string()Returns a reusableClassMetarepresentation for the classString .Methods in org.apache.juneau.marshall that return types with arguments of type ClassMetaModifier and TypeMethodDescriptionClassMeta.getArgs()Returns the argument types of this meta.MarshallingContext.getCmCache()Class metadata cache.Methods in org.apache.juneau.marshall with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected final <T> TMarshallingSession.convertToMemberType(Object outer, Object value, ClassMeta<T> to) Same asMarshallingSession.convertToType(Object, ClassMeta), except used for instantiating inner member classes that must be instantiated within another class instance.final <T> TMarshallingSession.convertToType(Object value, ClassMeta<T> type) Casts the specified value into the specified type.final StringMarshallingSession.getBeanTypePropertyName(ClassMeta cm) Returns the type property name as defined byMarshallingContext.Builder.typePropertyName(String).protected final ClassMeta<?>MarshallingSession.getClassMetaForObject(Object o, ClassMeta<?> def) Returns theClassMetafor the object's class, unwrapping recognized proxies first.protected final ClassMeta<?>MarshallingTraverseSession.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 via an explicit conversion.booleanClassMeta.hasMutaterTo(ClassMeta<?> c) Returnstrue if this class can be transformed to the specified type via an explicit conversion.protected static final booleanMarshallingTraverseSession.isOptional(ClassMeta<?> cm) Same asisOptional()but gracefully handles a nullClassMeta.static <O> OConverts the specified object to the type represented by this class meta.protected MapMarshallingSession.newGenericMap(ClassMeta mapMeta) Creates a genericMapfor parser-driven map population, choosing the map type based on the key type.protected final ClassMeta<?>Push the specified object onto the stack.booleanSimilar toequals(Object)except primitive and Object types that are similar are considered the same.protected final voidMarshallingTraverseSession.setCurrentClass(ClassMeta<?> currentClass) Sets the current class being traversed for proper error messages.protected final ObjectMarshallingSession.toArray(ClassMeta<?> type, Collection<?> list) Converts the contents of the specified list into an array.protected final booleanMarshallingTraverseSession.willRecurse(String attrName, Object o, ClassMeta<?> cm) Returnstrue ifMarshallingTraverseContext.Builder.detectRecursions()is enabled, and the specified object is already higher up in the traversal chain.Method parameters in org.apache.juneau.marshall 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.marshall with parameters of type ClassMetaModifierConstructorDescriptionExtendedClassMeta(ClassMeta<?> cm) Constructor.InvalidDataConversionException(Object value, ClassMeta<?> toType, Exception cause) -
Uses of ClassMeta in org.apache.juneau.marshall.bson
Methods in org.apache.juneau.marshall.bson with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TBsonParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) BsonMetaProvider.getBsonClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.BsonParser.getBsonClassMeta(ClassMeta<?> cm) BsonSerializer.getBsonClassMeta(ClassMeta<?> cm) Constructors in org.apache.juneau.marshall.bson with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.cbor
Methods in org.apache.juneau.marshall.cbor with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TCborParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) CborMetaProvider.getCborClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.CborParser.getCborClassMeta(ClassMeta<?> cm) CborSerializer.getCborClassMeta(ClassMeta<?> cm) <T> TConstructors in org.apache.juneau.marshall.cbor with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.collections
Methods in org.apache.juneau.marshall.collections that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>MarshalledList.getClassMeta(int index) Returns theClassMetaof the class of the object at the specified index.ClassMeta<?>MarshalledMap.getClassMeta(String key) Returns the class type of the object at the specified index.Methods in org.apache.juneau.marshall.collections with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.csv
Methods in org.apache.juneau.marshall.csv with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TCsvParserSession.doRead(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.marshall.csv with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.hjson
Methods in org.apache.juneau.marshall.hjson with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> THjsonParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) HjsonMetaProvider.getHjsonClassMeta(ClassMeta<?> cm) Returns the Hjson-specific metadata on the specified class.HjsonParser.getHjsonClassMeta(ClassMeta<?> cm) HjsonSerializer.getHjsonClassMeta(ClassMeta<?> cm) protected HjsonWriterHjsonSerializerSession.writeAnything(HjsonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Constructors in org.apache.juneau.marshall.hjson with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.hocon
Methods in org.apache.juneau.marshall.hocon with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> THoconParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) HoconMetaProvider.getHoconClassMeta(ClassMeta<?> cm) Returns the HOCON-specific metadata on the specified class.HoconParser.getHoconClassMeta(ClassMeta<?> cm) HoconSerializer.getHoconClassMeta(ClassMeta<?> cm) protected HoconWriterHoconSerializerSession.writeAnything(HoconWriter hw, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Constructors in org.apache.juneau.marshall.hocon with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.html
Methods in org.apache.juneau.marshall.html with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> THtmlParserSession.doRead(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.writeAnything(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.writeAnything(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.marshall.html with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.httppart
Methods in org.apache.juneau.marshall.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.Methods in org.apache.juneau.marshall.httppart with parameters of type ClassMetaModifier and TypeMethodDescription<T> TBaseHttpPartParser.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> THttpPartParserSession.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TSimplePartParserSession.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) -
Uses of ClassMeta in org.apache.juneau.marshall.ini
Methods in org.apache.juneau.marshall.ini with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TIniParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) IniMetaProvider.getIniClassMeta(ClassMeta<?> cm) Returns the INI-specific metadata on the specified class.IniParser.getIniClassMeta(ClassMeta<?> cm) IniSerializer.getIniClassMeta(ClassMeta<?> cm) Constructors in org.apache.juneau.marshall.ini with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.internal
Methods in org.apache.juneau.marshall.internal that return ClassMetaModifier and TypeMethodDescriptionDelegateList.getBeanInfo()DelegateMap.getBeanInfo()FilteredKeyMap.getBeanInfo()Constructors in org.apache.juneau.marshall.internal with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.jcs
Methods in org.apache.juneau.marshall.jcs with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected SerializerWriter<?>JcsSerializerSession.writeMap(JsonWriter<?> out, Map m, ClassMeta<?> type) -
Uses of ClassMeta in org.apache.juneau.marshall.jena
Methods in org.apache.juneau.marshall.jena with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TRdfParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) protected <T> TRdfStreamParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) RdfMetaProvider.getRdfClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.RdfParser.getRdfClassMeta(ClassMeta<?> cm) protected RdfClassMetaRdfParserSession.getRdfClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.RdfSerializer.getRdfClassMeta(ClassMeta<?> cm) protected RdfClassMetaRdfSerializerSession.getRdfClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.RdfStreamParser.getRdfClassMeta(ClassMeta<?> cm) protected RdfClassMetaRdfStreamParserSession.getRdfClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.RdfStreamSerializer.getRdfClassMeta(ClassMeta<?> cm) RdfParser.getXmlClassMeta(ClassMeta<?> cm) RdfSerializer.getXmlClassMeta(ClassMeta<?> cm) RdfStreamParser.getXmlClassMeta(ClassMeta<?> cm) RdfStreamSerializer.getXmlClassMeta(ClassMeta<?> cm) Constructors in org.apache.juneau.marshall.jena with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.json
Methods in org.apache.juneau.marshall.json with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TJsonParserSession.doRead(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.<T> Tprotected JsonWriter<?>JsonSerializerSession.writeAnything(JsonWriter<?> out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method.protected SerializerWriter<?>JsonSerializerSession.writeMap(JsonWriter<?> out, Map m, ClassMeta<?> type) Constructors in org.apache.juneau.marshall.json with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.json5
Methods in org.apache.juneau.marshall.json5 with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.json5l
Methods in org.apache.juneau.marshall.json5l with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TJson5lParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) -
Uses of ClassMeta in org.apache.juneau.marshall.jsonl
Methods in org.apache.juneau.marshall.jsonl with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TJsonlParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) -
Uses of ClassMeta in org.apache.juneau.marshall.jsonschema
Methods in org.apache.juneau.marshall.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.marshall.jsonschema with parameters of type ClassMetaModifierConstructorDescriptionJsonSchemaClassMeta(ClassMeta<?> cm, JsonSchemaMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.markdown
Methods in org.apache.juneau.marshall.markdown with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TMarkdownDocParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) protected <T> TMarkdownParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) MarkdownMetaProvider.getMarkdownClassMeta(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.MarkdownParser.getMarkdownClassMeta(ClassMeta<?> cm) MarkdownSerializer.getMarkdownClassMeta(ClassMeta<?> cm) protected <T> TMarkdownParserSession.readAnything(List<String> lines, ClassMeta<T> eType, Object outer, BeanPropertyMeta pMeta) Main parse dispatch method.protected ObjectMarkdownDocParserSession.readBeanFromDoc(List<String> lines, ClassMeta<?> sType, Object outer, int level) Parses a bean from Markdown document structure (headings + tables).protected ObjectMarkdownParserSession.readBulletList(List<String> lines, ClassMeta<?> eType, Object outer) Parses a Markdown bulleted list into a collection or array.protected <T> TMarkdownParserSession.readCellValue(String val, ClassMeta<T> eType, Object outer) Converts a raw Markdown table cell string to the target type.protected <T> TMarkdownDocParserSession.readDocAnything(List<String> lines, ClassMeta<T> eType, Object outer, int level) Main document-mode parse dispatch.protected ObjectMarkdownParserSession.readKeyValueTable(List<String> headers, List<String> dataLines, ClassMeta<?> eType, Object outer) Parses a 2-column key/value Markdown table.protected ObjectMarkdownDocParserSession.readMapFromDoc(List<String> lines, ClassMeta<?> sType, Object outer, int level) Parses a map from Markdown document structure.protected ObjectMarkdownParserSession.readMultiColumnTable(List<String> headers, List<String> dataLines, ClassMeta<?> eType, Object outer) Parses a multi-column Markdown table (N columns).protected ObjectMarkdownParserSession.readRow(List<String> headers, List<String> cells, ClassMeta<?> eType, Object outer) Parses a single data row into the specified element type.protected ObjectParses a Markdown table (either 2-column key/value or multi-column).protected voidMarkdownSerializerSession.writeAnything(MarkdownWriter w, Object o, ClassMeta<?> eType, BeanPropertyMeta pMeta) Main serialization dispatch method.protected voidMarkdownSerializerSession.writeBeanMap(MarkdownWriter w, BeanMap<?> bm, ClassMeta<?> eType, ClassMeta<?> aType) Serializes a bean as a 2-column key/value Markdown table.protected voidMarkdownSerializerSession.writeCollection(MarkdownWriter w, Collection<?> c, ClassMeta<?> eType, ClassMeta<?> cm) Serializes a collection as either a multi-column table (uniform beans/maps) or a bulleted list.protected voidMarkdownSerializerSession.writeMap(MarkdownWriter w, Map<?, ?> m, ClassMeta<?> cm) Serializes a Map as a 2-column key/value Markdown table.Constructors in org.apache.juneau.marshall.markdown with parameters of type ClassMetaModifierConstructorDescriptionMarkdownClassMeta(ClassMeta<?> cm, MarkdownMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.msgpack
Methods in org.apache.juneau.marshall.msgpack with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TMsgPackParserSession.doRead(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) <T> TConstructors in org.apache.juneau.marshall.msgpack with parameters of type ClassMetaModifierConstructorDescriptionMsgPackClassMeta(ClassMeta<?> cm, MsgPackMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.oapi
Methods in org.apache.juneau.marshall.oapi with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TOpenApiParserSession.doRead(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.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> type) Constructors in org.apache.juneau.marshall.oapi with parameters of type ClassMetaModifierConstructorDescriptionOpenApiClassMeta(ClassMeta<?> cm, OpenApiMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.objecttools
Methods in org.apache.juneau.marshall.objecttools that return ClassMetaModifier and TypeMethodDescriptionPathTraversal.getClassMeta(String url) Returns the class type of the object at the specified URL. -
Uses of ClassMeta in org.apache.juneau.marshall.parquet
Methods in org.apache.juneau.marshall.parquet with parameters of type ClassMetaModifier and TypeMethodDescriptionParquetSchemaBuilder.buildSchema(ClassMeta<?> cm) Builds the Parquet schema for the given bean class.ParquetSchemaBuilder.buildSchema(ClassMeta<?> cm, Object sampleBean) Builds the Parquet schema, using a sample bean to resolve collection element types when generics are erased.protected <T> TParquetParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) ParquetMetaProvider.getParquetClassMeta(ClassMeta<?> cm) Returns the Parquet-specific metadata on the specified class.ParquetParser.getParquetClassMeta(ClassMeta<?> cm) ParquetSerializer.getParquetClassMeta(ClassMeta<?> cm) Constructors in org.apache.juneau.marshall.parquet with parameters of type ClassMetaModifierConstructorDescriptionParquetClassMeta(ClassMeta<?> cm, ParquetMetaProvider pm) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.parser
Methods in org.apache.juneau.marshall.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.marshall.parser with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected final ObjectParserSession.cast(MarshalledMap m, BeanPropertyMeta pMeta, ClassMeta<?> eType) Converts the specifiedMarshalledMapinto 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.doRead(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method.protected <T> TParserSession.doRead(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.read(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> Tfinal <T> TSame asParserSession.read(Object, Type, Type...)except the type has already been converted into aClassMetaobject.final <T> TSame asParserSession.read(Object, ClassMeta)except parses from a string and doesn't throw anIOException.protected final <T> TParserSession.readCalendar(String s, ClassMeta<T> cm) Parses an ISO 8601 wire value into aCalendarorXMLGregorianCalendartarget using this session's configured calendar format and time zone.protected final <T> TParses an ISO 8601 wire value into aDatetarget using this session's configured date format and time zone.protected final <T> TParserSession.readTemporal(String s, ClassMeta<T> cm) Parses an ISO 8601 wire value into the specifiedTemporalsubtype using this session's configured temporal format and time zone.final <T> TParser.readWithOuter(String input, ClassMeta<T> type, Object outer) Same asParser.read(String, ClassMeta)but creates the parser session with a specific outer object.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.marshall.plaintext
Methods in org.apache.juneau.marshall.plaintext with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TPlainTextParserSession.doRead(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.marshall.plaintext with parameters of type ClassMetaModifierConstructorDescriptionPlainTextClassMeta(ClassMeta<?> cm, PlainTextMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.serializer
Methods in org.apache.juneau.marshall.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 asMarshallingTraverseSession.push(String, Object, ClassMeta)but wrapsMarshallingRecursionExceptioninsideSerializeException.Methods in org.apache.juneau.marshall.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.final voidSerializerSession.forEachStreamableEntry(Object o, ClassMeta<?> type, Consumer consumer) Iterates over a streamable object (Iterator, Iterable, or Stream), consuming each entry.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 asMarshallingTraverseSession.push(String, Object, ClassMeta)but wrapsMarshallingRecursionExceptioninsideSerializeException.SerializerSession.toListFromStreamable(Object o, ClassMeta<?> type) Converts a streamable object (Iterator, Iterable, or Stream) to a List.protected final StringSerializerSession.writeCalendar(Object c, ClassMeta<?> cm) Formats aCalendarorXMLGregorianCalendarvalue using this session's configured calendar format and time zone.protected final Stringprotected final StringSerializerSession.writeTemporal(TemporalAccessor t, ClassMeta<?> cm) -
Uses of ClassMeta in org.apache.juneau.marshall.soap
Methods in org.apache.juneau.marshall.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.marshall.soap with parameters of type ClassMetaModifierConstructorDescriptionSoapXmlClassMeta(ClassMeta<?> cm, SoapXmlMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.sse
Methods in org.apache.juneau.marshall.sse with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TSseParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) -
Uses of ClassMeta in org.apache.juneau.marshall.stream
Methods in org.apache.juneau.marshall.stream with parameters of type ClassMetaModifier and TypeMethodDescription<T> TSame asRecordReader.read(Class)but accepts a pre-resolvedClassMeta.default <T> TSame asTokenReader.read(Class)but accepts a pre-resolvedClassMeta. -
Uses of ClassMeta in org.apache.juneau.marshall.swap.spi
Methods in org.apache.juneau.marshall.swap.spi that return ClassMetaModifier and TypeMethodDescriptionClassMeta<?>BuilderSwap.getBuilderClassMeta(MarshallingSession session) Returns theClassMetaof the transformed class type.ClassMeta<?>ObjectSwap.getSwapClassMeta(MarshallingSession session) Returns theClassMetaof the transformed class type.Methods in org.apache.juneau.marshall.swap.spi with parameters of type ClassMetaModifier and TypeMethodDescriptionBuilderSwap.build(MarshallingSession session, B builder, ClassMeta<?> hint) Creates a new object from the specified builder.BuilderSwap.create(MarshallingSession session, ClassMeta<?> hint) Creates a new builder object.AutoListSwap.unswap(MarshallingSession session, List<?> o, ClassMeta<?> hint) AutoMapSwap.unswap(MarshallingSession session, Map<?, ?> o, ClassMeta<?> hint) AutoNumberSwap.unswap(MarshallingSession session, Number o, ClassMeta<?> hint) AutoObjectSwap.unswap(MarshallingSession session, Object f, ClassMeta<?> hint) AutoStringSwap.unswap(MarshallingSession session, String s, ClassMeta<?> hint) FunctionalSwap.unswap(MarshallingSession session, S f, ClassMeta<?> hint, String template) ObjectSwap.unswap(MarshallingSession 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(MarshallingSession session, S f, ClassMeta<?> hint, String template) Same asObjectSwap.unswap(MarshallingSession, Object, ClassMeta), but can be used if your swap has a template associated with it.SurrogateSwap.unswap(MarshallingSession session, F f, ClassMeta<?> hint) Constructors in org.apache.juneau.marshall.swap.spi with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.swaps
Methods in org.apache.juneau.marshall.swaps with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected InputStreamConvert the specified byte array into an input stream.byte[]BinarySwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) Class<?>ClassFormatSwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.Hex.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.SpacedHex.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.StackTraceElementSwap.unswap(MarshallingSession session, String in, ClassMeta<?> hint) StringFormatSwap.unswap(MarshallingSession session, String f, ClassMeta<?> hint) UrlSwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) -
Uses of ClassMeta in org.apache.juneau.marshall.toml
Methods in org.apache.juneau.marshall.toml with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TTomlParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) TomlMetaProvider.getTomlClassMeta(ClassMeta<?> cm) Returns the TOML-specific metadata on the specified class.TomlParser.getTomlClassMeta(ClassMeta<?> cm) TomlSerializer.getTomlClassMeta(ClassMeta<?> cm) Constructors in org.apache.juneau.marshall.toml with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.uon
Methods in org.apache.juneau.marshall.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.marshall.uon with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TUonParserSession.doRead(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.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) Converts the specified input to the specified class type.<T> TUonParserSession.read(HttpPartType partType, HttpPartSchema schema, String in, ClassMeta<T> toType) <T> TUonParserSession.readAnything(ClassMeta<?> eType, UonReader r, Object outer, boolean isUrlParamValue, BeanPropertyMeta pMeta) Workhorse method.protected UonWriterUonSerializerSession.writeAnything(UonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method.Constructors in org.apache.juneau.marshall.uon with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.urlencoding
Methods in org.apache.juneau.marshall.urlencoding with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TUrlEncodingParserSession.doRead(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.marshall.urlencoding with parameters of type ClassMetaModifierConstructorDescriptionUrlEncodingClassMeta(ClassMeta<?> cm, UrlEncodingMetaProvider mp) Constructor. -
Uses of ClassMeta in org.apache.juneau.marshall.utils
Methods in org.apache.juneau.marshall.utils with parameters of type ClassMetaModifier and TypeMethodDescriptionstatic StringFormats a date/time or Duration value to its ISO 8601 string representation.static StringIso8601Utils.formatAsDate(Object value, ClassMeta<?> type, TimeZone timeZone) Formats a date/time value as an ISO date (date-only, for OpenAPI 'date' format).static StringIso8601Utils.formatAsDateTime(Object value, ClassMeta<?> type, TimeZone timeZone) Formats a date/time value as an ISO date-time (for OpenAPI 'date-time' format).static StringIso8601Utils.formatCalendar(Object value, ClassMeta<?> sourceType, CalendarFormat format, TimeZone timeZone) Formats aCalendarorXMLGregorianCalendarvalue using the supplied wire format.static StringIso8601Utils.formatDate(Date value, ClassMeta<?> sourceType, DateFormat format, TimeZone timeZone) Formats aDatevalue using the supplied wire format.static StringIso8601Utils.formatTemporal(TemporalAccessor value, ClassMeta<?> sourceType, TemporalFormat format, TimeZone timeZone) Formats aTemporalAccessorvalue using the supplied wire format.static <T> TIso8601Utils.fromEpochMillis(long epochMillis, ClassMeta<T> targetType, TimeZone timeZone) Converts epoch milliseconds to the target date/time type.static <T> TParses an ISO 8601 string into the specified date/time target type.static <T> TIso8601Utils.parseCalendar(String iso8601, ClassMeta<T> targetType, CalendarFormat formatHint, TimeZone timeZone) Parses an ISO 8601 wire value into aCalendarorXMLGregorianCalendar.static <T> TIso8601Utils.parseDate(String iso8601, ClassMeta<T> targetType, DateFormat formatHint, TimeZone timeZone) Parses an ISO 8601 wire value into aDate.static <T> TIso8601Utils.parseTemporal(String iso8601, ClassMeta<T> targetType, TemporalFormat formatHint, TimeZone timeZone) Parses an ISO 8601 wire value into the specifiedTemporalsubtype. -
Uses of ClassMeta in org.apache.juneau.marshall.xml
Methods in org.apache.juneau.marshall.xml with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TXmlParserSession.doRead(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.readAnything(ClassMeta<T> eType, String currAttr, XmlReader r, Object outer, boolean isRoot, BeanPropertyMeta pMeta) Workhorse method.protected XmlSerializerSession.ContentResultXmlSerializerSession.writeAnything(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.marshall.xml with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.marshall.yaml
Methods in org.apache.juneau.marshall.yaml with parameters of type ClassMetaModifier and TypeMethodDescriptionprotected <T> TYamlParserSession.doRead(ParserPipe pipe, ClassMeta<T> type) YamlMetaProvider.getYamlClassMeta(ClassMeta<?> cm) Returns the YAML-specific metadata on the specified class.YamlParser.getYamlClassMeta(ClassMeta<?> cm) YamlSerializer.getYamlClassMeta(ClassMeta<?> cm) protected YamlWriterYamlSerializerSession.writeAnything(YamlWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta, boolean asField) Workhorse method.Constructors in org.apache.juneau.marshall.yaml with parameters of type ClassMeta -
Uses of ClassMeta in org.apache.juneau.petstore.marshall
Methods in org.apache.juneau.petstore.marshall with parameters of type ClassMetaModifier and TypeMethodDescription<T> TPetPhotoParser.doRead(ParserSession session, ParserPipe pipe, ClassMeta<T> type) Workhorse method. -
Uses of ClassMeta in org.apache.juneau.rest.client.classic
Methods in org.apache.juneau.rest.client.classic with parameters of type ClassMetaModifier and TypeMethodDescription<T> TSame asResponseContent.as(Class)except allows you to predefine complex data types using theClassMetaAPI.<T> RestResponseSame asResponseHeader.as(ClassMeta)but sets the value in a mutable for fluent calls.<T> Optional<T>Converts this header to the specified type.<T> Future<T>Same asResponseContent.as(ClassMeta)but allows you to run the call asynchronously. -
Uses of ClassMeta in org.apache.juneau.rest.server.beans
Constructors in org.apache.juneau.rest.server.beans with parameters of type ClassMetaModifierConstructorDescriptionBeanPropertyDescription(String name, ClassMeta<?> type) Constructor. -
Uses of ClassMeta in org.apache.juneau.rest.server.httppart
Methods in org.apache.juneau.rest.server.httppart with parameters of type ClassMetaModifier and TypeMethodDescription<T> Optional<T>Converts this part to the specified POJO type using the requestHttpPartParserand optional schema.