Uses of Class
com.peterphi.std.util.jaxb.JAXBSerialiser
Package
Description
-
Uses of JAXBSerialiser in com.peterphi.std.guice.web.rest.service.servicedescription.freemarker
-
Uses of JAXBSerialiser in com.peterphi.std.util.jaxb
Modifier and TypeMethodDescriptionstatic JAXBSerialiser
JAXBSerialiser.getInstance
(Class<?>... classes) Helper method to get a JAXBSerialiser for a set of classes with the underlying JAXB implementation picked using the default rules for JAXB acquisition
This is an expensive operation and so the result should ideally be cachedstatic JAXBSerialiser
JAXBSerialiser.getInstance
(String contextPath) Helper method to get a JAXBSerialiser from a JAXB Context Path (i.e.static JAXBSerialiser
JAXBSerialiser.getInstance
(javax.xml.bind.JAXBContext context) Helper method to get a JAXBSerialiser from an existing JAXBContext.
This is an expensive operation and so the result should ideally be cachedJAXBSerialiserFactory.getInstance
(Class<?> clazz) JAXBSerialiserFactory.getInstance
(String contextPath) protected JAXBSerialiser
JAXBSerialiserFactory.getInstance
(String key, Supplier<JAXBSerialiser> provider) static JAXBSerialiser
Helper method to get a JAXBSerialiser that uses EclipseLink MOXy for all operationsstatic JAXBSerialiser
Helper method to get a JAXBSerialiser that uses EclipseLink MOXy for all operationsJAXBSerialiser.setEncoding
(String encoding) Specify an output encoding to use when marshalling the XML data.JAXBSerialiser.setFragment
(boolean fragment) Specify the value of jaxb.fragment used by the underlying marshallerJAXBSerialiser.setNoNamespaceSchemaLocation
(String noNamespaceSchemaLocation) Specify an xsi:noNamespaceSchemaLocation in the generated XMLJAXBSerialiser.setPrettyOutput
(boolean pretty) Enable/Disable pretty printingOptionally specify the schema to use for all future serialisation/deserialisation methodsJAXBSerialiser.setSchemaLocation
(String schemaLocation) Specify an xsi:schemaLocation attribute in the generated XMLModifier and TypeMethodDescriptionMultiXSDGenerator.generate
(JAXBSerialiser serialiser) MultiXSDGenerator.generateAndSerialise
(JAXBSerialiser serialiser) Generate a schema and then serialise it to a String.Modifier and TypeMethodDescriptionprotected JAXBSerialiser
JAXBSerialiserFactory.getInstance
(String key, Supplier<JAXBSerialiser> provider)