Skip navigation links

Package org.simpleframework.xml.core

Provides the core persistence framework and associated annotations.

See: Description

Package org.simpleframework.xml.core Description

Provides the core persistence framework and associated annotations. In this package the Persister object can be found. The persister implements the Serializer interface and provides the main means of serializing and deserializing classes. For example take the below snippet.
 
    Serializer serializer = new Persister();
    InputStream source = new FileInputStream(file);
    
    Example example = serializer.read(Example.class, source);
 
 
Each persister instance can be configured with various options. Such options include Style objects that allow you to style and format the resulting XML and Filter objects which allows string substitution during the deserialization of the XML document. Also Strategy objects can be used to configure the serialization process being performed.
See Also:
org.simpleframework.xml
Skip navigation links