Package com.peterphi.std.util.jaxb
package com.peterphi.std.util.jaxb
-
ClassDescriptionXMLStreamWriter that recognises when a duplicate call of
DuplicateNSFilteringXMLStreamWriter.setDefaultNamespace(String)
is called, and suppresses itA thread-safe, caching JAXB helper type.A factory for JAXBSerialiser instances that can optionally be forced to use EclipseLink MOXy (or use the default JAXBContext implementation acquisition rules).
Caches JAXBSerialiser instances created using eitherSoftReference
s or direct hard references (based on config - defaults to soft references)Handles the logic of creating a MultiXSDUtility class that loosens any xsd:any constraint where namespace="##other" to namespace="##any" (because JAXB cannot represent namespace="##any" withXmlAnyElement
, so the generated schemas are often over-constrained as a result)Wrapper class that performs XSD Validation