Class XStreamDOM.ConverterImpl

java.lang.Object
jenkins.util.xstream.XStreamDOM.ConverterImpl
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
Enclosing class:
XStreamDOM

public static class XStreamDOM.ConverterImpl extends Object implements com.thoughtworks.xstream.converters.Converter
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter w, com.thoughtworks.xstream.converters.MarshallingContext context)
     
    unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
    Unmarshals a single child element.
    unmarshalElement(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConverterImpl

      public ConverterImpl()
  • Method Details

    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
    • marshal

      public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter w, com.thoughtworks.xstream.converters.MarshallingContext context)
      Specified by:
      marshal in interface com.thoughtworks.xstream.converters.Converter
    • unmarshal

      public XStreamDOM unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)
      Unmarshals a single child element.
      Specified by:
      unmarshal in interface com.thoughtworks.xstream.converters.Converter
    • unmarshalElement

      public XStreamDOM unmarshalElement(com.thoughtworks.xstream.io.HierarchicalStreamReader r, com.thoughtworks.xstream.converters.UnmarshallingContext context)