Class DOMConverter

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

    public class DOMConverter
    extends AbstractConverter
    Converts w3c dom object to a string. (sad but true)
    • Constructor Detail

      • DOMConverter

        public DOMConverter()
    • Method Detail

      • marshal

        public void marshal​(java.lang.Object obj,
                            com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                            com.thoughtworks.xstream.converters.MarshallingContext ctx)
      • unmarshal

        public java.lang.Object unmarshal​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                          com.thoughtworks.xstream.converters.UnmarshallingContext ctx)
      • canConvert

        public boolean canConvert​(java.lang.Class c)