Package org.reflections.serializers
Class XmlSerializer
java.lang.Object
org.reflections.serializers.XmlSerializer
- All Implemented Interfaces:
Serializer
serialization of Reflections to xml
an example of produced xml:
invalid input: '<'?xml version="1.0" encoding="UTF-8"?> invalid input: '<'Reflections> invalid input: '<'SubTypesScanner> invalid input: '<'entry> invalid input: '<'key>com.google.inject.Moduleinvalid input: '<'/key> invalid input: '<'values> invalid input: '<'value>fully.qualified.name.1invalid input: '<'/value> invalid input: '<'value>fully.qualified.name.2invalid input: '<'/value> ...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.dom4j.DocumentcreateDocument(Reflections reflections) read(InputStream inputStream) reads the input stream into a new Reflections instance, populating it's storesave(Reflections reflections, String filename) saves a Reflections instance into the given filenametoString(Reflections reflections) returns a string serialization of the given Reflections instance
-
Constructor Details
-
XmlSerializer
public XmlSerializer()
-
-
Method Details
-
read
Description copied from interface:Serializerreads the input stream into a new Reflections instance, populating it's store- Specified by:
readin interfaceSerializer
-
save
Description copied from interface:Serializersaves a Reflections instance into the given filename- Specified by:
savein interfaceSerializer
-
toString
Description copied from interface:Serializerreturns a string serialization of the given Reflections instance- Specified by:
toStringin interfaceSerializer
-
createDocument
-