- canConvert(Class) - Method in class org.springframework.oxm.xstream.CatchAllConverter
-
- CastorMappingException - Exception in org.springframework.oxm.castor
-
- CastorMappingException(String, Throwable) - Constructor for exception org.springframework.oxm.castor.CastorMappingException
-
Construct a CastorMappingException
with the specified detail message
and nested exception.
- CastorMarshaller - Class in org.springframework.oxm.castor
-
Implementation of the Marshaller
interface for Castor.
- CastorMarshaller() - Constructor for class org.springframework.oxm.castor.CastorMarshaller
-
- CastorMarshallerBeanDefinitionParser - Class in org.springframework.oxm.config
-
Parser for the <oxm:castor-marshaller/>
element.
- CastorMarshallerBeanDefinitionParser() - Constructor for class org.springframework.oxm.config.CastorMarshallerBeanDefinitionParser
-
- CatchAllConverter - Class in org.springframework.oxm.xstream
-
XStream Converter
that supports all classes but throws exceptions
for (un)marshalling.
- CatchAllConverter() - Constructor for class org.springframework.oxm.xstream.CatchAllConverter
-
- configureXStream(XStream) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Configure the XStream instance with this marshaller's bean properties.
- constructXStream() - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Construct an XStream instance, either using one of the
standard constructors or creating a custom subclass.
- convertCastorException(XMLException, boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Convert the given XMLException
to an appropriate exception from the
org.springframework.oxm
hierarchy.
- convertJaxbException(JAXBException) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Convert the given JAXBException
to an appropriate exception from the
org.springframework.oxm
hierarchy.
- convertJibxException(JiBXException, boolean) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Convert the given JiBXException
to an appropriate exception from the
org.springframework.oxm
hierarchy.
- convertToXopPackage() - Method in interface org.springframework.oxm.mime.MimeContainer
-
Turn this message into a XOP package.
- convertXmlBeansException(Exception, boolean) - Method in class org.springframework.oxm.xmlbeans.XmlBeansMarshaller
-
Convert the given XMLBeans exception to an appropriate exception from the
org.springframework.oxm
hierarchy.
- convertXStreamException(Exception, boolean) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Convert the given XStream exception to an appropriate exception from the
org.springframework.oxm
hierarchy.
- createDocumentBuilder(DocumentBuilderFactory) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Create a DocumentBuilder
that this marshaller will use for creating
DOM documents when passed an empty DOMSource
.
- createDocumentBuilderFactory() - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Create a DocumentBuilder
that this marshaller will use for creating
DOM documents when passed an empty DOMSource
.
- createInputSource(Resource) - Static method in class org.springframework.oxm.support.SaxResourceUtils
-
Create a SAX InputSource
from the given resource.
- createMarshaller() - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Return a newly created JAXB marshaller.
- createMarshallingContext() - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Create a new IMarshallingContext
, configured with the correct indentation.
- createUnmarshaller() - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Return a newly created JAXB unmarshaller.
- createUnmarshallingContext() - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Create a new IUnmarshallingContext
.
- createXMLContext(Resource[], Class<?>[], String[]) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Create the Castor XMLContext
.
- createXmlReader() - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Create an XMLReader
that this marshaller will when passed an empty SAXSource
.
- customizeMarshaller(Marshaller) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Template method that allows for customizing of the given Castor Marshaller
.
- customizeUnmarshaller(Unmarshaller) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Template method that allows for customizing of the given Castor Unmarshaller
.
- customizeXStream(XStream) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Template to allow for customizing the given XStream
.
- SaxResourceUtils - Class in org.springframework.oxm.support
-
Convenient utility methods for dealing with SAX.
- SaxResourceUtils() - Constructor for class org.springframework.oxm.support.SaxResourceUtils
-
- setAdapters(XmlAdapter<?, ?>...) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Specify the XmlAdapter
s to be registered with the JAXB Marshaller
and Unmarshaller
- setAliases(Map<String, ?>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the alias/type map, consisting of string aliases mapped to classes.
- setAliasesByType(Map<String, ?>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the aliases by type map, consisting of string aliases mapped to classes.
- setAnnotatedClasses(Class<?>...) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set annotated classes for which aliases will be read from class-level annotation metadata.
- setAutodetectAnnotations(boolean) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Activate XStream's autodetection mode.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
- setBindingName(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the optional binding name for this instance.
- setCastorProperties(Map<String, String>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set Castor-specific properties for marshalling and unmarshalling.
- setCheckForXmlRootElement(boolean) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- setClassDescriptorResolver(XMLClassDescriptorResolver) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the XMLClassDescriptorResolver
to be used during unmarshalling.
- setClassesToBeBound(Class<?>...) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the list of Java classes to be recognized by a newly created JAXBContext.
- setClearCollections(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Sets whether this unmarshaller should clear collections upon the first use.
- setContextPath(String) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set a JAXB context path.
- setContextPaths(String...) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set multiple JAXB context paths.
- setConverterLookup(ConverterLookup) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream ConverterLookup
to use.
- setConverterRegistry(ConverterRegistry) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream ConverterRegistry
to use.
- setConverters(ConverterMatcher...) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the Converters
or SingleValueConverters
to be registered
with the XStream
instance.
- setDocTypeInternalSubset(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the internal subset Id for the DTD declaration written when marshalling.
- setDocTypePublicId(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the public id for the DTD declaration written when marshalling.
- setDocTypeRootElementName(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the root element name for the DTD declaration written when marshalling.
- setDoctypes(Map<String, String>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the map containing document type definition for the marshaller.
- setDocTypeSystemId(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the system id for the DTD declaration written when marshalling.
- setEncoding(String) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the encoding to be used for stream access.
- setEncoding(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the document encoding using for marshalling.
- setEncoding(String) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the encoding to be used for stream access.
- setEntityResolver(EntityResolver) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
- setFieldAliases(Map<String, String>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the field alias/type map, consisting of field names.
- setIdResolver(IDResolver) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the Castor IDResolver
to be used during unmarshalling.
- setIgnoreExtraAttributes(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether the Castor Unmarshaller
should ignore attributes that do not match a specific field.
- setIgnoreExtraElements(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether the Castor Unmarshaller
should ignore elements that do not match a specific field.
- setImplicitCollections(Map<Class<?>, String>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Specify implicit collection fields, as a Map consisting of Class
instances
mapped to comma separated collection field names.
- setIndent(int) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the number of nesting indent spaces.
- setInputSource(InputSource) - Method in class org.springframework.oxm.support.MarshallingSource
-
Throws a UnsupportedOperationException
.
- setJaxbContextProperties(Map<String, ?>) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the JAXBContext
properties.
- setLazyInit(boolean) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set whether to lazily initialize the
JAXBContext
for this marshaller.
- setMappedClass(Class<?>) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Specify a JAXB mapped class for partial unmarshalling.
- setMapper(Mapper) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream Mapper
to use.
- setMapperWrappers(Class<?>...) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set one or more custom XStream MapperWrapper
classes.
- setMappingLocation(Resource) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the locations of the Castor XML mapping files.
- setMappingLocations(Resource...) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the locations of the Castor XML mapping files.
- setMarshalAsDocument(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether this marshaller should output the xml declaration.
- setMarshalExtendedType(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether this marshaller should output for given type the xsi:type
attribute.
- setMarshallerListener(Marshaller.Listener) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Specify the Marshaller.Listener
to be registered with the JAXB Marshaller
.
- setMarshallerProperties(Map<String, ?>) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the JAXB Marshaller
properties.
- setMarshallingStrategy(MarshallingStrategy) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream MarshallingStrategy
to use.
- setMode(int) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the XStream mode to use.
- setMtomEnabled(boolean) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Specify whether MTOM support should be enabled or not.
- setNameCoder(NameCoder) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream NameCoder
to use.
- setNamespaceMappings(Map<String, String>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the namespace mappings.
- setNamespaceToPackageMapping(Map<String, String>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the namespace to package mappings.
- setNoNamespaceSchemaLocation(String) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the value of xsi:noNamespaceSchemaLocation
attribute.
- setObject(Object) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
- setObjectFactory(ObjectFactory) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the Castor ObjectFactory
to be used during unmarshalling.
- setOmittedFields(Map<Class<?>, String>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Specify omitted fields, as a Map consisting of Class
instances
mapped to comma separated field names.
- setOptions(Map<String, ?>) - Method in class org.springframework.oxm.xmlbeans.XmlOptionsFactoryBean
-
Set options on the underlying XmlOptions
object.
- setPackagesToScan(String[]) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the packages to search for classes with JAXB2 annotations in the classpath.
- setProcessExternalEntities(boolean) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Indicates whether external XML entities are processed when unmarshalling.
- setProcessExternalEntities(boolean) - Method in class org.springframework.oxm.support.AbstractMarshaller
-
Indicates whether external XML entities are processed when unmarshalling.
- setProcessingInstructions(Map<String, String>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Sets the processing instructions that will be used by during marshalling.
- setReflectionProvider(ReflectionProvider) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a custom XStream ReflectionProvider
to use.
- setReuseObjects(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether this unmarshaller should re-use objects.
- setRootElement(String) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the name of the root element.
- setRootObject(Object) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the expected root object for the unmarshaller, into which the source will be unmarshalled.
- setSchema(Resource) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the schema resource to use for validation.
- setSchemaLanguage(String) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the schema language.
- setSchemaLocation(String) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the value of xsi:schemaLocation
attribute.
- setSchemaResourceResolver(LSResourceResolver) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the resource resolver, as used to load the schema resources.
- setSchemas(Resource...) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the schema resources to use for validation.
- setStandalone(Boolean) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the document standalone flag for marshalling.
- setStreamDriver(HierarchicalStreamDriver) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set a XStream HierarchicalStreamDriver
to be used for readers and writers.
- setSupportedClasses(Class<?>...) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the classes supported by this marshaller.
- setSupportJaxbElementClass(boolean) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- setSuppressNamespaces(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Sets whether this marshaller should output namespaces.
- setSuppressXsiType(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether this marshaller should output the xsi:type
attribute.
- setTargetClass(Class<?>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the Castor target class.
- setTargetClass(Class<?>) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the target class for this instance.
- setTargetClasses(Class<?>...) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the Castor target classes.
- setTargetPackage(String) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the name of a package with the Castor descriptor classes.
- setTargetPackage(String) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
Set the target package for this instance.
- setTargetPackages(String...) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set the names of packages with the Castor descriptor classes.
- setUnmarshallerListener(Unmarshaller.Listener) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the Unmarshaller.Listener
to be registered with the JAXB Unmarshaller
.
- setUnmarshallerProperties(Map<String, ?>) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the JAXB Unmarshaller
properties.
- setUseAttributeFor(Map<?, ?>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set the types to use XML attributes for.
- setUseAttributeForTypes(Class<?>...) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-
Set types to use XML attributes for.
- setUseXSITypeAtRoot(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Sets whether this marshaller should output the xsi:type
attribute for the root element.
- setValidating(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether this marshaller should validate in- and outgoing documents.
- setValidating(boolean) - Method in class org.springframework.oxm.xmlbeans.XmlBeansMarshaller
-
Set whether this marshaller should validate in- and outgoing documents.
- setValidationEventHandler(ValidationEventHandler) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
Set the JAXB validation event handler.
- setWhitespacePreserve(boolean) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Set whether the Castor Unmarshaller
should preserve "ignorable" whitespace.
- setXmlOptions(XmlOptions) - Method in class org.springframework.oxm.xmlbeans.XmlBeansMarshaller
-
Set the XmlOptions
.
- setXMLReader(XMLReader) - Method in class org.springframework.oxm.support.MarshallingSource
-
Throws a UnsupportedOperationException
.
- supports(Class<?>) - Method in class org.springframework.oxm.castor.CastorMarshaller
-
Returns true
for all classes, i.e.
- supports(Type) - Method in interface org.springframework.oxm.GenericMarshaller
-
Indicates whether this marshaller can marshal instances of the supplied generic type.
- supports(Type) - Method in interface org.springframework.oxm.GenericUnmarshaller
-
Indicates whether this marshaller can marshal instances of the supplied generic type.
- supports(Class<?>) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- supports(Type) - Method in class org.springframework.oxm.jaxb.Jaxb2Marshaller
-
- supports(Class<?>) - Method in class org.springframework.oxm.jibx.JibxMarshaller
-
- supports(Class<?>) - Method in interface org.springframework.oxm.Marshaller
-
Indicates whether this marshaller can marshal instances of the supplied type.
- supports(Class<?>) - Method in interface org.springframework.oxm.Unmarshaller
-
Indicates whether this unmarshaller can unmarshal instances of the supplied type.
- supports(Class<?>) - Method in class org.springframework.oxm.xmlbeans.XmlBeansMarshaller
-
This implementation returns true if the given class is an implementation of XmlObject
.
- supports(Class<?>) - Method in class org.springframework.oxm.xstream.XStreamMarshaller
-