Interface XMLParser

All Known Implementing Classes:
JAXBParser

public interface XMLParser
Parses XML documents.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default xml header.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    fromXML(String xml, Class<T> type)
    Deserialize the object from xml.
    Serialize the object into xml.
    <T> String
    toXML(Object src, Class<T> type)
    Serialize the object into xml, as the declared type.