| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.errai.reflections.serializers.XmlSerializer
public class XmlSerializer
serialization of Reflections to xml
an example of produced xml:
 &#60?xml version="1.0" encoding="UTF-8"?>
 &#60Reflections>
  &#60org.reflectiorg.jboss.errai.reflectionsthodAnnotationsScanner>
      &#60entry>
          &#60key>org.reflections.TestModel$AM1&org.jboss.errai.reflections
          &#60values>
              &#60value>org.reflections.TestModel$C4.m3()&#60/value>
              &#60value>org.jboss.errai.reflections.TestModel$C4.m1(int[][], java.lang.String[][])&#60/value>
 ...
 
| Constructor Summary | |
|---|---|
| XmlSerializer() | |
| Method Summary | |
|---|---|
|  Reflections | read(java.io.InputStream inputStream)reads the input stream into a new Reflections instance, populating it's store | 
|  java.io.File | save(Reflections reflections,
     java.lang.String filename)saves a Reflections instance into the given filename | 
|  java.lang.String | toString(Reflections reflections)returns a string serialization of the given Reflections instance | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public XmlSerializer()
| Method Detail | 
|---|
public Reflections read(java.io.InputStream inputStream)
Serializer
read in interface Serializer
public java.io.File save(Reflections reflections,
                         java.lang.String filename)
Serializer
save in interface Serializerpublic java.lang.String toString(Reflections reflections)
Serializer
toString in interface Serializer| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||