Uses of Class
org.apache.juneau.serializer.SerializeException
Packages that use SerializeException
Package
Description
JSON Schema Data Transfer Objects
Collections classes
Configuration Support
CSV Marshalling Support
Serializer Examples
HTML Marshalling Support
HTTP Part Marshalling Support
JSON Marshalling Support
JSON-Schema Marshalling Support
Marshallers
MessagePack Marshalling Support
OpenAPI Marshalling Support
Plaintext Marshalling Support
REST Server API
REST Response Converters
Serializer API
SOAP/XML Marshalling Support
Swap API
UON Marshalling Support
URL-Encoding Marshalling Support
XML Marshalling Support
-
Uses of SerializeException in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema that throw SerializeExceptionModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.swap(BeanSession session, Object o) JsonSchema.BooleanOrSchemaSwap.swap(BeanSession session, Object o) JsonSchema.JsonSchemaOrSchemaArraySwap.swap(BeanSession session, Object o) JsonSchema.JsonTypeOrJsonTypeArraySwap.swap(BeanSession session, Object o) -
Uses of SerializeException in org.apache.juneau.collections
Methods in org.apache.juneau.collections that throw SerializeExceptionModifier and TypeMethodDescriptionConvenience method for serializing this JsonList to the specified Writer using the JsonSerializer.DEFAULT serializer.Convenience method for serializing this map to the specifiedWriter using theJsonSerializer.DEFAULTserializer. -
Uses of SerializeException in org.apache.juneau.config
Methods in org.apache.juneau.config that throw SerializeExceptionModifier and TypeMethodDescriptionLoads the contents of the specified map of maps into this config.Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered serializer.Config.set(String key, Object value, Serializer serializer) Same asConfig.set(String, Object)but allows you to specify the serializer to use to serialize the value.Config.set(String key, Object value, Serializer serializer, String modifiers, String comment, List<String> preLines) Same asConfig.set(String, Object)but allows you to specify all aspects of a value.Creates the specified section if it doesn't exist. -
Uses of SerializeException in org.apache.juneau.csv
Methods in org.apache.juneau.csv that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidCsvSerializerSession.doSerialize(SerializerPipe pipe, Object o) -
Uses of SerializeException in org.apache.juneau.examples.serializer
Methods in org.apache.juneau.examples.serializer that throw SerializeExceptionModifier and TypeMethodDescriptionvoidImageSerializer.doSerialize(SerializerSession session, SerializerPipe pipe, Object o) -
Uses of SerializeException in org.apache.juneau.html
Methods in org.apache.juneau.html that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidHtmlDocSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidHtmlSchemaDocSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidHtmlSchemaSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidHtmlSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidHtmlStrippedDocSerializerSession.doSerialize(SerializerPipe out, Object o) 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. -
Uses of SerializeException in org.apache.juneau.httppart
Methods in org.apache.juneau.httppart that throw SerializeExceptionModifier and TypeMethodDescriptionBaseHttpPartSerializer.serialize(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.HttpPartSerializerSession.serialize(HttpPartType type, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable. -
Uses of SerializeException in org.apache.juneau.json
Methods in org.apache.juneau.json that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidJsonSchemaSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidJsonSerializerSession.doSerialize(SerializerPipe out, Object o) protected JsonWriterJsonSerializerSession.serializeAnything(JsonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method. -
Uses of SerializeException in org.apache.juneau.jsonschema
Methods in org.apache.juneau.jsonschema that throw SerializeExceptionModifier and TypeMethodDescriptionReturns the JSON-schema for the specified object.Returns the JSON-schema for the specified type.Returns the JSON-schema for the specified type. -
Uses of SerializeException in org.apache.juneau.marshaller
Methods in org.apache.juneau.marshaller that throw SerializeExceptionModifier and TypeMethodDescriptionstatic StringSerializes a Java object to a JSON string.static ObjectSerializes a Java object to a JSON output.static StringSerializes a Java object to an HTML string.static ObjectSerializes a Java object to an HTML output.static StringSerializes a Java object to a JSON string.static ObjectSerializes a Java object to a JSON output.static StringSerializes a Java object to a JSON 5 string.static ObjectSerializes a Java object to a JSON 5 output.static byte[]Serializes a Java object to a JSON string.static ObjectSerializes a Java object to an output.static StringSerializes a Java object to an OpenApi string.static ObjectSerializes a Java object to an OpenApi output.static StringOpenApi.of(HttpPartSchema schema, Object object) Serializes a Java object to an OpenApi output.static StringSerializes a Java object to a Plain Text string.static ObjectSerializes a Java object to a Plain Text output.static StringSerializes a Java object to a UON string.static ObjectSerializes a Java object to a UON output.static StringSerializes a Java object to a URL-Encoded string.static ObjectSerializes a Java object to a URL-Encoded output.static StringSerializes a Java object to an XML string.static ObjectSerializes a Java object to an XML output.final StringSerializes a POJO directly to aString .final voidSerializes a POJO to the specified output stream or writer.final byte[]Serializes a POJO directly to a.byte [] -
Uses of SerializeException in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidMsgPackSerializerSession.doSerialize(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.oapi
Methods in org.apache.juneau.oapi that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidOpenApiSerializerSession.doSerialize(SerializerPipe out, Object o) OpenApiSerializerSession.serialize(HttpPartType partType, HttpPartSchema schema, Object value) -
Uses of SerializeException in org.apache.juneau.plaintext
Methods in org.apache.juneau.plaintext that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidPlainTextSerializerSession.doSerialize(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.rest
Methods in org.apache.juneau.rest that throw SerializeExceptionModifier and TypeMethodDescriptionSets a header on the request.RestResponse.setHeader(HttpPartSchema schema, String name, Object value) Sets a header on the request. -
Uses of SerializeException in org.apache.juneau.rest.converter
Methods in org.apache.juneau.rest.converter that throw SerializeExceptionModifier and TypeMethodDescriptionRestConverter.convert(RestRequest req, Object res) Performs post-call conversion on the specified response object. -
Uses of SerializeException in org.apache.juneau.serializer
Methods in org.apache.juneau.serializer that return SerializeExceptionModifier and TypeMethodDescriptionstatic SerializeExceptionCreator method.SerializeException.getRootCause()Returns the highest-levelParseException in the stack trace.Sets the inner cause for this exception.SerializeException.setMessage(String message, Object... args) Methods in org.apache.juneau.serializer that throw SerializeExceptionModifier and TypeMethodDescriptionfinal booleanSerializerSession.canIgnoreValue(ClassMeta<?> cm, String attrName, Object value) Returnstrue if the specified value should not be serialized.protected voidSerializer.doSerialize(SerializerSession session, SerializerPipe pipe, Object o) Serializes a POJO to the specified pipe.protected voidSerializerSession.doSerialize(SerializerPipe pipe, Object o) Serializes a POJO to the specified pipe.protected final ObjectSerializerSession.generalize(Object o, ClassMeta<?> type) Generalize the specified object if a POJO swap is associated with it.SerializerPipe.getWriter()Wraps the specified output object inside a writer.protected final voidSerializerSession.onBeanGetterException(BeanPropertyMeta p, Throwable t) Specialized warning when an exception is thrown while executing a bean getter.protected final ClassMeta<?>Same asBeanTraverseSession.push(String, Object, ClassMeta)but wrapsBeanRecursionExceptioninsideSerializeException.final byte[]Convenience method for serializing an object to a.byte final byte[]Convenience method for serializing an object to a.byte Shortcut method for serializing objects directly to either aString ordepending on the serializer type.byte []final voidSerializes a POJO to the specified output stream or writer.Shortcut method for serializing objects directly to either aString ordepending on the serializer type.byte []final voidSerialize the specified object using the specified session.final StringConvenience method for serializing an object to aString .final StringConvenience method for serializing an object to aString .final StringOutputStreamSerializerSession.serializeToString(Object o) final StringSerializer.serializeToString(Object o) Convenience method for serializing an object to a String.SerializerSession.serializeToString(Object o) Shortcut method for serializing an object to a String.final StringWriterSerializerSession.serializeToString(Object o) protected ObjectSerializerSession.swap(ObjectSwap swap, Object o) Invokes the specified swap on the specified object if the swap is not null. -
Uses of SerializeException in org.apache.juneau.soap
Methods in org.apache.juneau.soap that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidSoapXmlSerializerSession.doSerialize(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.swap
Methods in org.apache.juneau.swap that throw SerializeExceptionModifier and TypeMethodDescriptionList<?>AutoListSwap.swap(BeanSession session, Object o) Map<?,?> AutoMapSwap.swap(BeanSession session, Object o) AutoNumberSwap.swap(BeanSession session, Object o) AutoObjectSwap.swap(BeanSession session, Object o) SurrogateSwap.swap(BeanSession session, T o) -
Uses of SerializeException in org.apache.juneau.uon
Methods in org.apache.juneau.uon that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidUonSerializerSession.doSerialize(SerializerPipe out, Object o) UonSerializer.serialize(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.UonSerializerSession.serialize(HttpPartType type, HttpPartSchema schema, Object value) protected SerializerWriterUonSerializerSession.serializeAnything(UonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method. -
Uses of SerializeException in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidUrlEncodingSerializerSession.doSerialize(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.xml
Methods in org.apache.juneau.xml that throw SerializeExceptionModifier and TypeMethodDescriptionprotected voidXmlDocSerializerSession.doSerialize(SerializerPipe out, Object o) protected voidXmlSerializerSession.doSerialize(SerializerPipe out, Object o) protected final voidXmlSerializerSession.findNsfMappings(Object o) Recursively searches for the XML namespaces on the specified POJO and adds them to the serializer context object.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.